Skip to content

Commit

Permalink
Fixed release tags for AMD
Browse files Browse the repository at this point in the history
  • Loading branch information
olapiv committed Nov 9, 2023
1 parent 2ccf5a8 commit eb6b741
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,10 @@ jobs:
- name: Build and push ARM64 image for RONDB_VERSION_LTS
run: |
if [[ "${{ startsWith(github.ref_name, 'release-') }}" == "true" ]]; then
TAG="hopsworks/$ARM_IMAGE_NAME:$RONDB_VERSION_LTS-latest"
else
VERSION="$(< "./VERSION" sed -e 's/^[[:space:]]*//')"
TAG="hopsworks/$ARM_IMAGE_NAME:$RONDB_VERSION_LTS-$VERSION"
else
TAG="hopsworks/$ARM_IMAGE_NAME:$RONDB_VERSION_LTS-latest"
fi
docker buildx build . \
--tag $TAG \
Expand All @@ -157,11 +157,11 @@ jobs:
- name: Build and push ARM64 image for RONDB_VERSION_STABLE
run: |
if [[ "${{ startsWith(github.ref_name, 'release-') }}" == "true" ]]; then
TAGS="--tag hopsworks/$ARM_IMAGE_NAME:$RONDB_VERSION_STABLE-latest"
TAGS+=" --tag hopsworks/$ARM_IMAGE_NAME:latest"
else
VERSION="$(< "./VERSION" sed -e 's/^[[:space:]]*//')"
TAGS="--tag hopsworks/$ARM_IMAGE_NAME:$RONDB_VERSION_STABLE-$VERSION"
else
TAGS="--tag hopsworks/$ARM_IMAGE_NAME:$RONDB_VERSION_STABLE-latest"
TAGS+=" --tag hopsworks/$ARM_IMAGE_NAME:latest"
fi
docker buildx build . \
$TAGS \
Expand Down

0 comments on commit eb6b741

Please sign in to comment.