Skip to content

Commit

Permalink
debugging build docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
pesolosep committed Apr 23, 2024
1 parent 8965f87 commit 9f780a3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,18 @@ jobs:
run: echo ${{ secrets.DOCKER_PASSWORD }} | sudo docker login -u ${{ secrets.REGISTRY_USER }} --password-stdin docker.io
- name: Set Docker BuildKit
run: export DOCKER_BUILDKIT=1
- name: Debug Variables
run: |
echo "REGISTRY_USER: ${{ secrets.REGISTRY_USER }}"
echo "IMAGE_NAME: ${{ secrets.IMAGE_NAME }}"
echo "IMAGE_TAG: ${{ secrets.IMAGE_TAG }}"
- 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 }} .
deploy:
name: Deploy to GCP
runs-on: ubuntu-latest
Expand Down

0 comments on commit 9f780a3

Please sign in to comment.