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 19, 2024
1 parent ee3ada5 commit 37720cd
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- service: aries-endorser-db
GIT_REPO_URL: bcgov/aries-endorser-service
PATH: docker/wallet/config
BUILDER_IMAGE: 'registry.redhat.io/rhel9/postgresql-13'
BUILDER_IMAGE: 'quay.io/fedora/postgresql-13:13'
- service: aries-endorser-backup
GIT_REPO_URL: BCDevOps/backup-container
DOCKER_FILE_PATH: Dockerfile
Expand Down Expand Up @@ -62,14 +62,6 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2


- name: Pull base image
id: pull_build_image
run: |
docker pull $builder_image
env:
builder_image: ${{ matrix.BUILDER_IMAGE }}

- name: Log in to the GHCR
uses: docker/login-action@v2
with:
Expand All @@ -92,7 +84,7 @@ jobs:
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha,value=latest
if: contains(fromJSON('["aries-endorser-agent","aries-endorser-backup","aries-endorser-api"]'), ${{ env.service }})
if: contains(fromJSON('["aries-endorser-agent","aries-endorser-backup","aries-endorser-api"]'), '${{ env.service }})
env:
service: ${{ matrix.service }}
# - name: Build and push Docker image
Expand All @@ -108,7 +100,12 @@ jobs:
# cache-to: type=gha,mode=max
# if: contains(fromJSON(['aries-endorser-agent','aries-endorser-backup','aries-endorser-api']), ${{ matrix.service }} )


# - name: Pull base image
# id: pull_build_image
# run: |
# docker pull $builder_image
# env:
# builder_image: ${{ matrix.BUILDER_IMAGE }}
- name: Setup and Build
id: build_image
uses: redhat-actions/s2i-build@v2
Expand Down

0 comments on commit 37720cd

Please sign in to comment.