Skip to content

Commit 584693e

Browse files
committed
Temporary add docker push image in CI before merge
Signed-off-by: Lou Marvin Caraig <[email protected]>
1 parent b6e6dcd commit 584693e

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/push.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -678,6 +678,14 @@ jobs:
678678
sudo chown $(whoami) -R /tmp/io
679679
sed -i 's/[\./]server[\./]//g' /tmp/io/coverage.xml
680680
sed -i "s\<source></source>\<source>$GITHUB_WORKSPACE/server</source>\g" /tmp/io/coverage.xml
681+
- name: docker push (temporary hack)
682+
if: "(!contains(steps.get-merged-pull-request.outputs.labels, 'hotfix') || github.event_name != 'push')"
683+
run: |
684+
export IMAGE=us-east1-docker.pkg.dev/${{ secrets.GOOGLE_PROJECT }}/images/api:resurrection
685+
GOOGLE_CREDENTIALS=${{ secrets.GOOGLE_CREDENTIALS }} \
686+
GOOGLE_PROJECT=${{ secrets.GOOGLE_PROJECT }} \
687+
make gcloud-login
688+
make docker-push
681689
- uses: codecov/codecov-action@v3
682690
if: "(!contains(steps.get-merged-pull-request.outputs.labels, 'hotfix') || github.event_name != 'push')"
683691
name: codecov

0 commit comments

Comments
 (0)