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}} version: ${{env.GCLOUD_VERSION}}
service_account_key: ${{ secrets.ARTIFACTS_GCLOUD_ACCOUNT_BASE64 }} service_account_key: ${{ secrets.ARTIFACTS_GCLOUD_ACCOUNT_BASE64 }}
- name: Configure docker
run: gcloud auth configure-docker
- name: Upload image - name: Upload image
run: | run: |
docker push gcr.io/$ARTIFACTS_PROJECT_ID/windshaft:${GITHUB_REF##*/} docker push gcr.io/$ARTIFACTS_PROJECT_ID/windshaft:${GITHUB_REF##*/}