From 9f780a388bea5a42d7730d5b9f6b327b17bdc7e5 Mon Sep 17 00:00:00 2001 From: Faishal Nelwan <108632813+pesolosep@users.noreply.github.com> Date: Tue, 23 Apr 2024 21:33:57 +0700 Subject: [PATCH] debugging build docker image --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f8488e9..62d1703 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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