Skip to content

Commit

Permalink
restore prev logic
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxymVlasov committed Jun 19, 2024
1 parent 648fa24 commit 1503431
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/build-image-test.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: "Build Dockerfile if changed and run smoke tests"

on: push
on: [pull-request]

env:
IMAGE_TAG: pr-test
Expand Down Expand Up @@ -43,8 +43,8 @@ jobs:
uses: docker/build-push-action@ca052bb54ab0790a636c9b5f226502c73d547a25 # v5.4.0
with:
context: .
# build-args: |
# INSTALL_ALL=true
build-args: |
INSTALL_ALL=true
platforms: linux/${{ matrix.arch }} # Only one allowed here, see https://github.com/docker/buildx/issues/59#issuecomment-1433097926
push: false
load: true
Expand All @@ -55,12 +55,12 @@ jobs:
secrets: |
"github_token=${{ secrets.GITHUB_TOKEN }}"
# - name: Run structure tests
# if: steps.changed-files-specific.outputs.any_changed == 'true'
# uses: plexsystems/container-structure-test-action@c0a028aa96e8e82ae35be556040340cbb3e280ca # v0.3.0
# with:
# image: ghcr.io/${{ github.repository }}:${{ env.IMAGE_TAG }}
# config: .github/.container-structure-test-config.yaml
- name: Run structure tests
if: steps.changed-files-specific.outputs.any_changed == 'true'
uses: plexsystems/container-structure-test-action@c0a028aa96e8e82ae35be556040340cbb3e280ca # v0.3.0
with:
image: ghcr.io/${{ github.repository }}:${{ env.IMAGE_TAG }}
config: .github/.container-structure-test-config.yaml

- name: Dive - check image for waste files
if: steps.changed-files-specific.outputs.any_changed == 'true'
Expand Down

0 comments on commit 1503431

Please sign in to comment.