diff --git a/.github/workflows/publish-container.yml b/.github/workflows/publish-container.yml index 17897c2..49869bc 100644 --- a/.github/workflows/publish-container.yml +++ b/.github/workflows/publish-container.yml @@ -39,8 +39,6 @@ jobs: id-token: write steps: - - name: ⤵️ Checkout repository - uses: actions/checkout@v4.0.0 - name: ❔ Check Container files changed id: file_change @@ -59,6 +57,10 @@ jobs: # env: # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: ⤵️ Checkout repository + if: ${{ steps.file_change.outputs.container_folder == 'true' }} + uses: actions/checkout@v4.0.0 + - name: 🏗 Extract Docker metadata id: meta if: ${{ steps.file_change.outputs.container_folder == 'true' }}