Skip to content

Commit

Permalink
Fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
masterlittle committed Apr 12, 2023
1 parent 13949ed commit 2d7989c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/create_image.yml
Expand Up @@ -15,6 +15,7 @@ jobs:
url: "app.{{ vars.BASE_DOMAIN }}"
runs-on: ubuntu-latest
env:
REGISTRY_REGION: asia-south1-docker.pkg.dev
IMAGE_NAME: asia-south1-docker.pkg.dev/prod-data-platform/redash/redash

steps:
Expand All @@ -27,6 +28,12 @@ jobs:
service_account: 'prod-data-eng-deployment@prod-data-platform.iam.gserviceaccount.com'
token_format: 'access_token'

- uses: 'docker/login-action@v1'
with:
registry: ${{ vars.REGISTRY_REGION }}
username: 'oauth2accesstoken'
password: '${{ steps.auth.outputs.access_token }}'

- uses: olegtarasov/get-tag@v2.1
id: tag_name

Expand Down

0 comments on commit 2d7989c

Please sign in to comment.