diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index f083b749..40446ad5 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -4,7 +4,7 @@ on: workflow_dispatch: push: branches: - - workflow + - main concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -27,18 +27,18 @@ jobs: include: - service: aries-endorser-agent GIT_REPO_URL: bcgov/aries-endorser-service - DOCKER_FILE_PATH: Dockerfile.acapy SOURCE_CONTEXT_DIR: docker/acapy + DOCKER_FILE_PATH: Dockerfile.acapy # - service: aries-endorser-db # GIT_REPO_URL: bcgov/aries-endorser-service - # DOCKER_FILE_PATH: docker/wallet/config + # DOCKER_FILE_PATH: # SOURCE_CONTEXT_DIR: docker/wallet/config - service: aries-endorser-backup GIT_REPO_URL: BCDevOps/backup-container DOCKER_FILE_PATH: Dockerfile - SOURCE_CONTEXT_DIR: /docker + SOURCE_CONTEXT_DIR: docker # - service: aries-endorser-proxy - # GIT_REPO_URL: BCDevOps/backup-container.git + # GIT_REPO_URL: BCDevOps/backup-container # DOCKER_FILE_PATH: Dockerfile # SOURCE_CONTEXT_DIR: /docker - service: aries-endorser-api @@ -53,6 +53,9 @@ jobs: with: repository: ${{ matrix.GIT_REPO_URL }} + - name: List Directories + run: | + ls -l - name: Set up Docker Buildx uses: docker/setup-buildx-action@v2 @@ -84,8 +87,8 @@ jobs: id: docker_build uses: docker/build-push-action@v3 with: - context: ${{ matrix.service }}/${{ matrix.SOURCE_CONTEXT_DIR }} - file: ${{ matrix.DOCKER_FILE_PATH }} + context: ${{ matrix.SOURCE_CONTEXT_DIR }} + file: ${{ matrix.SOURCE_CONTEXT_DIR }}/${{ matrix.DOCKER_FILE_PATH }} push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }}