Skip to content

Commit 9853839

Browse files
committed
Allow push commands
1 parent 1f238a7 commit 9853839

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/master_only.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
run: |
2424
if [ ${GITHUB_REF#refs/*/} == "master" ]; then
2525
docker tag gcr.io/kf-feast/feast-${{ matrix.component }}:${GITHUB_SHA} gcr.io/kf-feast/feast-${{ matrix.component }}:dev
26-
# docker push gcr.io/kf-feast/feast-${{ matrix.component }}:dev
26+
docker push gcr.io/kf-feast/feast-${{ matrix.component }}:dev
2727
fi
2828
- name: get version
2929
id: get_version
@@ -36,7 +36,7 @@ jobs:
3636
if [[ ${{ steps.get_version.outputs.VERSION }} =~ $rx ]]; then
3737
3838
docker tag gcr.io/kf-feast/feast-${{ matrix.component }}:${GITHUB_SHA} gcr.io/kf-feast/feast-${{ matrix.component }}:${{ steps.get_version.outputs.VERSION }}
39-
# docker push gcr.io/kf-feast/feast-${{ matrix.component }}:${{ steps.get_version.outputs.VERSION }}
39+
docker push gcr.io/kf-feast/feast-${{ matrix.component }}:${{ steps.get_version.outputs.VERSION }}
4040
4141
# Also update "latest" image if tagged commit is pushed to stable branch
4242
HIGHEST_SEMVER_TAG=$(git tag -l --sort -version:refname | head -n 1)
@@ -45,7 +45,7 @@ jobs:
4545
if [ ${{ steps.get_version.outputs.VERSION }} == "${HIGHEST_SEMVER_TAG:1}" ]
4646
then
4747
docker tag gcr.io/kf-feast/feast-${{ matrix.component }}:${GITHUB_SHA} gcr.io/kf-feast/feast-${{ matrix.component }}:${{ steps.get_version.outputs.VERSION }}
48-
# docker push gcr.io/kf-feast/feast-${{ matrix.component }}:${{ steps.get_version.outputs.VERSION }}
48+
docker push gcr.io/kf-feast/feast-${{ matrix.component }}:${{ steps.get_version.outputs.VERSION }}
4949
fi
5050
fi
5151

0 commit comments

Comments
 (0)