diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 5f6c2bc6..3db8acf4 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -30,7 +30,7 @@ jobs: DOCKER_FILE_PATH: Dockerfile.acapy # The docker path, file, is the relative path to the docker file from the root of the repo. SOURCE_CONTEXT_DIR: docker/acapy # The context dir, context, sets the context for the build. i.e. where the build will source files from - service: aries-endorser-db - GIT_REPO_URL: bcgov/aries-endorser-service + GIT_REPO_URL: bcgov/aries-endorser-service PATH: docker/wallet/config BUILDER_IMAGE: 'quay.io/fedora/postgresql-13:13' - service: aries-endorser-backup @@ -65,7 +65,7 @@ jobs: - name: Pull base image for proxy and Create Docker file run: | - docker login -u $REGISTRY_USERNAME -p $REGISTRY_PASSWORD $SOURCE_IMAGE_REGISTRY + docker login -u $REGISTRY_USERNAME -p $REGISTRY_PASSWORD $SOURCE_IMAGE_REGISTRY BASE_IMAGE=${SOURCE_IMAGE_REGISTRY}${SOURCE_IMAGE_NAME}:${SOURCE_IMAGE_TAG} docker pull "${BASE_IMAGE}" mkdir ${context} && cd ${context} @@ -75,7 +75,7 @@ jobs: env: context: ${{ matrix.SOURCE_CONTEXT_DIR }} SOURCE_IMAGE_REGISTRY: "artifacts.developer.gov.bc.ca/docker-remote/" - SOURCE_IMAGE_NAME: caddy + SOURCE_IMAGE_NAME: caddy SOURCE_IMAGE_TAG: latest REGISTRY_USERNAME: ${{ secrets.USERNAME }} REGISTRY_PASSWORD: ${{ secrets.PASSWORD }} @@ -111,7 +111,7 @@ jobs: uses: docker/build-push-action@v5 with: context: ${{ matrix.SOURCE_CONTEXT_DIR }} - file: ${{ matrix.SOURCE_CONTEXT_DIR }}/${{ matrix.DOCKER_FILE_PATH }} + file: ${{ matrix.SOURCE_CONTEXT_DIR }}/${{ matrix.DOCKER_FILE_PATH }} push: true tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} @@ -176,11 +176,11 @@ jobs: needs: build env: ENVIRONMENT: dev - aries-endorser-agent_digest : ${{ needs.build.outputs.aries-endorser-agent_digest }} - aries-endorser-db_digest : ${{ needs.build.outputs.aries-endorser-db_digest }} - aries-endorser-api_digest : ${{ needs.build.outputs.aries-endorser-api_digest }} - aries-endorser-proxy_digest : ${{ needs.build.outputs.aries-endorser-proxy_digest }} - aries-endorser-backup_digest : ${{ needs.build.outputs.aries-endorser-backup_digest }} + aries-endorser-agent_digest: ${{ needs.build.outputs.aries-endorser-agent_digest }} + aries-endorser-db_digest: ${{ needs.build.outputs.aries-endorser-db_digest }} + aries-endorser-api_digest: ${{ needs.build.outputs.aries-endorser-api_digest }} + aries-endorser-proxy_digest: ${{ needs.build.outputs.aries-endorser-proxy_digest }} + aries-endorser-backup_digest: ${{ needs.build.outputs.aries-endorser-backup_digest }} permissions: packages: write runs-on: ubuntu-latest @@ -195,7 +195,6 @@ jobs: - service: aries-endorser-api steps: - - name: Checkout uses: actions/checkout@v4