Skip to content
This repository was archived by the owner on Nov 10, 2022. It is now read-only.

Commit c9ff695

Browse files
authored
Push docker image after build in GH workflow (feast-dev#2171)
Signed-off-by: pyalex <[email protected]>
1 parent 46b1a35 commit c9ff695

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

.github/workflows/master_only.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,3 +180,9 @@ jobs:
180180
- name: Build image
181181
run: |
182182
make build-${{ matrix.component }}-docker REGISTRY=${REGISTRY} VERSION=${GITHUB_SHA}
183+
- name: Push image
184+
run: |
185+
make push-${{ matrix.component }}-docker REGISTRY=${REGISTRY} VERSION=${GITHUB_SHA}
186+
187+
docker tag ${REGISTRY}/${{ matrix.component }}:${GITHUB_SHA} ${REGISTRY}/${{ matrix.component }}:develop
188+
docker push ${REGISTRY}/${{ matrix.component }}:develop

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
echo "Only push to latest tag if tag is the highest semver version $HIGHEST_SEMVER_TAG"
9696
if [ "${VERSION_WITHOUT_PREFIX}" = "${HIGHEST_SEMVER_TAG:1}" ]
9797
then
98-
docker tag feastdev/${{ matrix.component }}:${VERSION_WITHOUT_PREFIX} feastdev/feast-${{ matrix.component }}:latest
98+
docker tag feastdev/${{ matrix.component }}:${VERSION_WITHOUT_PREFIX} feastdev/${{ matrix.component }}:latest
9999
docker push feastdev/${{ matrix.component }}:latest
100100
fi
101101

infra/scripts/helm/validate-helm-chart-versions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -e
44

55
# Amount of file locations that need to be bumped in unison when versions increment
6-
UNIQUE_VERSIONS_COUNT=2
6+
UNIQUE_VERSIONS_COUNT=4
77

88
if [ $# -ne 1 ]; then
99
echo "Please provide a single semver version (without a \"v\" prefix) to test the repository against, e.g 0.99.0"

0 commit comments

Comments
 (0)