Skip to content

Commit ff75d72

Browse files
authored
Fix tag order for release workflow (feast-dev#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 51087fc commit ff75d72

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
@@ -83,14 +83,16 @@ jobs:
8383
docker build --build-arg VERSION=$RELEASE_VERSION \
8484
-t gcr.io/kf-feast/feast-${{ matrix.component }}:${GITHUB_SHA} \
8585
-t gcr.io/kf-feast/feast-${{ matrix.component }}:${VERSION_WITHOUT_PREFIX} \
86+
-t feastdev/feast-${{ matrix.component }}:${VERSION_WITHOUT_PREFIX} \
8687
-f infra/docker/${{ matrix.component }}/Dockerfile .
8788
docker push gcr.io/kf-feast/feast-${{ matrix.component }}:${VERSION_WITHOUT_PREFIX}
89+
docker push feastdev/feast-${{ matrix.component }}:${VERSION_WITHOUT_PREFIX}
8890
8991
echo "Only push to latest tag if tag is the highest semver version $HIGHEST_SEMVER_TAG"
9092
if [ "${VERSION_WITHOUT_PREFIX}" = "${HIGHEST_SEMVER_TAG:1}" ]
9193
then
92-
docker tag feastdev/feast-${{ matrix.component }}:latest gcr.io/kf-feast/feast-${{ matrix.component }}:${VERSION_WITHOUT_PREFIX}
93-
docker tag gcr.io/kf-feast/feast-${{ matrix.component }}:latest gcr.io/kf-feast/feast-${{ matrix.component }}:${VERSION_WITHOUT_PREFIX}
94+
docker tag feastdev/feast-${{ matrix.component }}:${VERSION_WITHOUT_PREFIX} feastdev/feast-${{ matrix.component }}:latest
95+
docker tag gcr.io/kf-feast/feast-${{ matrix.component }}:${VERSION_WITHOUT_PREFIX} gcr.io/kf-feast/feast-${{ matrix.component }}:latest
9496
docker push feastdev/feast-${{ matrix.component }}:latest
9597
docker push gcr.io/kf-feast/feast-${{ matrix.component }}:latest
9698
fi

0 commit comments

Comments
 (0)