Skip to content

Commit

Permalink
Build base image to fix Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardobranco777 committed May 24, 2024
1 parent 6c236a8 commit 15b682d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,16 @@ jobs:
with:
images: ${{ env.REGISTRY }}/${{ env.PCW_IMAGE_PREFIX }}_${{ matrix.suffix }}

- name: Build base image
if: ${{ github.event_name == 'pull_request' }}
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0
with:
context: .
file: containers/Dockerfile_base
push: false
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

- name: Build Docker image (PCW)
if: ${{ matrix.suffix == 'main' }}
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0
Expand Down

0 comments on commit 15b682d

Please sign in to comment.