Skip to content

Commit

Permalink
fix calling in production to secret
Browse files Browse the repository at this point in the history
  • Loading branch information
pesolosep committed Apr 23, 2024
1 parent 0baf69e commit 8965f87
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ jobs:
run: export DOCKER_BUILDKIT=1
- name: Build Docker Image
run: |
docker build --build-arg PRODUCTION= ${{ secrets.PRODUCTION }} --build-arg JDBC_DATABASE_PASSWORD= ${{ secrets.JDBC_DATABASE_PASSWORD }} --build-arg JDBC_DATABASE_URL= ${{ secrets.JDBC_DATABASE_URL }} --build-arg JDBC_DATABASE_USERNAME= ${{ secrets.JDBC_DATABASE_USERNAME }} -t ${{ secrets.REGISTRY_USER }}/${{ secrets.IMAGE_NAME }}:${{ secrets.IMAGE_TAG }} .
docker push ${{ secrets.REGISTRY_USER }}/${{ secrets.IMAGE_NAME }}:${{ secrets.IMAGE_TAG }}
docker build --build-arg PRODUCTION=${{ secrets.PRODUCTION }} --build-arg JDBC_DATABASE_PASSWORD=${{ secrets.JDBC_DATABASE_PASSWORD }} --build-arg JDBC_DATABASE_URL=${{ secrets.JDBC_DATABASE_URL }} --build-arg JDBC_DATABASE_USERNAME=${{ secrets.JDBC_DATABASE_USERNAME }} -t ${{ secrets.REGISTRY_USER }}/${{ secrets.IMAGE_NAME }}:${{ secrets.IMAGE_TAG }} .
deploy:
name: Deploy to GCP
Expand Down

0 comments on commit 8965f87

Please sign in to comment.