Skip to content

Commit

Permalink
trigger condition test
Browse files Browse the repository at this point in the history
  • Loading branch information
nihaldivyam committed Apr 1, 2024
1 parent 345077a commit 23bcd9b
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions .github/workflows/dockerbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,18 @@ jobs:
with:
images: ${{ matrix.image }}

- name: Build & push container image
id: docker_build
if: ${{ contains(steps.changed-files.outputs.all_changed_files, matrix.dockerfile) }}
uses: docker/[email protected]
with:
context: .
file: ${{ matrix.dockerfile }}
labels: ${{ steps.meta.outputs.labels }}
tags: ${{ steps.meta.outputs.tags }}
push: true
- name: test
run: |
echo ${{ steps.changed-files.outputs.all_changed_files}}
echo ${{matrix.dockerfile}}
# - name: Build & push container image
# id: docker_build
# if: ${{ contains(steps.changed-files.outputs.all_changed_files, matrix.dockerfile) }}
# uses: docker/[email protected]
# with:
# context: .
# file: ${{ matrix.dockerfile }}
# labels: ${{ steps.meta.outputs.labels }}
# tags: ${{ steps.meta.outputs.tags }}
# push: true

0 comments on commit 23bcd9b

Please sign in to comment.