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 bf85d07 commit ee3ada5
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 @@ -62,6 +62,14 @@ 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 @@ -84,7 +92,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"]'), '$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 @@ -100,12 +108,7 @@ 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 ee3ada5

Please sign in to comment.