configure docker to push

This commit is contained in:
Álvaro Manera 2020-12-21 13:13:17 +01:00
parent 95cf0391a8
commit 48fe56676d

View File

@ -35,6 +35,9 @@ jobs:
version: ${{env.GCLOUD_VERSION}}
service_account_key: ${{ secrets.ARTIFACTS_GCLOUD_ACCOUNT_BASE64 }}
- name: Configure docker
run: gcloud auth configure-docker
- name: Upload image
run: |
docker push gcr.io/$ARTIFACTS_PROJECT_ID/sql-api:${GITHUB_REF##*/}