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 17, 2024
1 parent 61f7440 commit 0e09409
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
push:
branches:
- workflow
- main

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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 }}
Expand Down

0 comments on commit 0e09409

Please sign in to comment.