Skip to content

Commit eb6b741

Browse files
committed
Fixed release tags for AMD
1 parent 2ccf5a8 commit eb6b741

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/test_and_deploy.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,10 @@ jobs:
139139
- name: Build and push ARM64 image for RONDB_VERSION_LTS
140140
run: |
141141
if [[ "${{ startsWith(github.ref_name, 'release-') }}" == "true" ]]; then
142-
TAG="hopsworks/$ARM_IMAGE_NAME:$RONDB_VERSION_LTS-latest"
143-
else
144142
VERSION="$(< "./VERSION" sed -e 's/^[[:space:]]*//')"
145143
TAG="hopsworks/$ARM_IMAGE_NAME:$RONDB_VERSION_LTS-$VERSION"
144+
else
145+
TAG="hopsworks/$ARM_IMAGE_NAME:$RONDB_VERSION_LTS-latest"
146146
fi
147147
docker buildx build . \
148148
--tag $TAG \
@@ -157,11 +157,11 @@ jobs:
157157
- name: Build and push ARM64 image for RONDB_VERSION_STABLE
158158
run: |
159159
if [[ "${{ startsWith(github.ref_name, 'release-') }}" == "true" ]]; then
160-
TAGS="--tag hopsworks/$ARM_IMAGE_NAME:$RONDB_VERSION_STABLE-latest"
161-
TAGS+=" --tag hopsworks/$ARM_IMAGE_NAME:latest"
162-
else
163160
VERSION="$(< "./VERSION" sed -e 's/^[[:space:]]*//')"
164161
TAGS="--tag hopsworks/$ARM_IMAGE_NAME:$RONDB_VERSION_STABLE-$VERSION"
162+
else
163+
TAGS="--tag hopsworks/$ARM_IMAGE_NAME:$RONDB_VERSION_STABLE-latest"
164+
TAGS+=" --tag hopsworks/$ARM_IMAGE_NAME:latest"
165165
fi
166166
docker buildx build . \
167167
$TAGS \

0 commit comments

Comments
 (0)