From 4a6f82f7ec487e50928fbe04e2adcf3787eefb3f Mon Sep 17 00:00:00 2001 From: "S. Amir Mohammad Najafi" Date: Tue, 7 Nov 2023 19:11:56 +0330 Subject: [PATCH] chore(ci): add image path --- .github/workflows/publish-container.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish-container.yml b/.github/workflows/publish-container.yml index 79ae3c5..4e9f7ce 100644 --- a/.github/workflows/publish-container.yml +++ b/.github/workflows/publish-container.yml @@ -26,6 +26,7 @@ jobs: matrix: include: - name: alpine + path: alpine version: short: 3 full: 3.17 @@ -48,7 +49,7 @@ jobs: with: filters: | container_folder: - ./${{ matrix.name }}/* + ./${{ matrix.path }}/* # - name: ❔ Stop if files not changed # if: ${{ steps.file_change.outputs.container_folder != 'true' }} @@ -105,7 +106,7 @@ jobs: id: build_and_push uses: docker/build-push-action@v5.0.0 with: - context: ./${{matrix.name}} + context: ./${{matrix.path}} push: ${{github.event_name != 'pull_request'}} tags: ${{steps.meta.outputs.tags}} labels: ${{steps.meta.outputs.labels}}