Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Rajpal Chauhan <[email protected]>
  • Loading branch information
rajpalc7 committed Jan 29, 2024
1 parent b0df30b commit 286c899
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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}
Expand All @@ -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 }}
Expand Down Expand Up @@ -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 }}
Expand Down Expand Up @@ -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
Expand All @@ -195,7 +195,6 @@ jobs:
- service: aries-endorser-api

steps:

- name: Checkout
uses: actions/checkout@v4

Expand Down

0 comments on commit 286c899

Please sign in to comment.