Skip to content

Commit

Permalink
t
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxymVlasov committed Jun 19, 2024
1 parent 59953d6 commit c32eec6
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 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: [pull_request]
on: push

env:
IMAGE_TAG: pr-test
Expand Down Expand Up @@ -43,8 +43,8 @@ jobs:
uses: docker/build-push-action@94f8f8c2eec4bc3f1d78c1755580779804cb87b2 # v6.0.1
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,16 +55,16 @@ 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'
uses: MaxymVlasov/dive-action@0035999cae50d4ef657ac94be84f01812aa192a5 # v0.1.0
uses: MaxymVlasov/dive-action@e03b161390d423d500f42aacd0e91520801233f3
with:
image: ghcr.io/${{ github.repository }}:${{ env.IMAGE_TAG }}
config-file: ${{ github.workspace }}/.github/.dive-ci.yaml
Expand Down

0 comments on commit c32eec6

Please sign in to comment.