configure docker before push

This commit is contained in:
Álvaro Manera 2020-12-21 13:14:36 +01:00
parent 5ed1a3a2d1
commit ec40614f4b

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/windshaft:${GITHUB_REF##*/}