Skip to content

Commit 971a227

Browse files
terryyylimpyalex
authored andcommitted
Fix tag order for release workflow (#1205)
* Fix tag order Signed-off-by: Terence <terencelimxp@gmail.com> * Tag and push to dockerhub Signed-off-by: Terence <terencelimxp@gmail.com>
1 parent f156f83 commit 971a227

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,16 @@ jobs:
8484
docker build --build-arg VERSION=$RELEASE_VERSION \
8585
-t gcr.io/kf-feast/feast-${{ matrix.component }}:${GITHUB_SHA} \
8686
-t gcr.io/kf-feast/feast-${{ matrix.component }}:${VERSION_WITHOUT_PREFIX} \
87+
-t feastdev/feast-${{ matrix.component }}:${VERSION_WITHOUT_PREFIX} \
8788
-f infra/docker/${{ matrix.component }}/Dockerfile .
8889
docker push gcr.io/kf-feast/feast-${{ matrix.component }}:${VERSION_WITHOUT_PREFIX}
90+
docker push feastdev/feast-${{ matrix.component }}:${VERSION_WITHOUT_PREFIX}
8991
9092
echo "Only push to latest tag if tag is the highest semver version $HIGHEST_SEMVER_TAG"
9193
if [ "${VERSION_WITHOUT_PREFIX}" = "${HIGHEST_SEMVER_TAG:1}" ]
9294
then
93-
docker tag feastdev/feast-${{ matrix.component }}:latest gcr.io/kf-feast/feast-${{ matrix.component }}:${VERSION_WITHOUT_PREFIX}
94-
docker tag gcr.io/kf-feast/feast-${{ matrix.component }}:latest gcr.io/kf-feast/feast-${{ matrix.component }}:${VERSION_WITHOUT_PREFIX}
95+
docker tag feastdev/feast-${{ matrix.component }}:${VERSION_WITHOUT_PREFIX} feastdev/feast-${{ matrix.component }}:latest
96+
docker tag gcr.io/kf-feast/feast-${{ matrix.component }}:${VERSION_WITHOUT_PREFIX} gcr.io/kf-feast/feast-${{ matrix.component }}:latest
9597
docker push feastdev/feast-${{ matrix.component }}:latest
9698
docker push gcr.io/kf-feast/feast-${{ matrix.component }}:latest
9799
fi

0 commit comments

Comments
 (0)