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 dfc6d5f commit 0baf69e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
run: export DOCKER_BUILDKIT=1
- name: Build Docker Image
run: |
docker build --build-arg PRODUCTION=$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 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 }}
deploy:
Expand Down

0 comments on commit 0baf69e

Please sign in to comment.