Skip to content

Commit

Permalink
provides build args
Browse files Browse the repository at this point in the history
  • Loading branch information
D-Antonelli committed Aug 9, 2024
1 parent 5e4bec0 commit f58d5b2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/staging_finance-accumulator-web-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,19 @@ jobs:
password: ${{ secrets.AzureAppService_ContainerPassword_e164ffea54304645b9f20458582c99b2 }}

- name: Build and push container image to registry
env:
STRIPE_KEY: ${{ secrets.STRIPE_KEY }}
NEXTAUTH_URL: ${{secrets.NEXTAUTH_URL}}
NEXTAUTH_SECRET: ${{secrets.NEXTAUTH_SECRET}}
AUTH_GITHUB_ID: ${{secrets.AUTH_GITHUB_ID}}
AUTH_GITHUB_SECRET: ${{secrets.AUTH_GITHUB_SECRET}}
GOOGLE_CLIENT_ID: ${{secrets.GOOGLE_CLIENT_ID}}
GOOGLE_CLIENT_SECRET: ${{secrets.GOOGLE_CLIENT_SECRET}}
uses: docker/build-push-action@v3
with:
push: true
tags: codespice.azurecr.io/${{ secrets.AzureAppService_ContainerUsername_7669d7e7e983475bb9b74548501f3331 }}/finance_accumulator_web:${{ github.sha }}
file: ./docker/staging/Dockerfile
build-args: |
STRIPE_KEY=${{ secrets.STRIPE_KEY }}
NEXTAUTH_URL=${{ secrets.NEXTAUTH_URL }}
NEXTAUTH_SECRET=${{ secrets.NEXTAUTH_SECRET }}
AUTH_GITHUB_ID=${{ secrets.AUTH_GITHUB_ID }}
AUTH_GITHUB_SECRET=${{ secrets.AUTH_GITHUB_SECRET }}
GOOGLE_CLIENT_ID=${{ secrets.GOOGLE_CLIENT_ID }}
GOOGLE_CLIENT_SECRET=${{ secrets.GOOGLE_CLIENT_SECRET }}
deploy:
runs-on: ubuntu-latest
Expand Down

0 comments on commit f58d5b2

Please sign in to comment.