Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,18 @@ jobs:
uses: actions/checkout@v7

- name: 🛠️ Set up buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v4

- name: 🔑 Log in to the container registry
uses: docker/login-action@v3
uses: docker/login-action@v4
if: {% raw %}${{ github.event_name != 'pull_request' }}{% endraw %}
with:
registry: ghcr.io
username: {% raw %}${{ github.actor }}{% endraw %}
password: {% raw %}${{ secrets.GITHUB_TOKEN }}{% endraw %}

- name: 📡 Collect image metadata
uses: docker/metadata-action@v5
uses: docker/metadata-action@v6
id: meta
with:
images: {% raw %}ghcr.io/${{ github.repository }}{% endraw %}
Expand All @@ -45,7 +45,7 @@ jobs:
type=sha

- name: 📦 Build and publish container image
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
id: push
with:
context: .
Expand All @@ -57,7 +57,7 @@ jobs:
cache-to: type=gha,mode=max

- name: 🔒 Attest build provenance
uses: actions/attest-build-provenance@v2
uses: actions/attest-build-provenance@v4
if: {% raw %}${{ github.event_name != 'pull_request' }}{% endraw %}
with:
subject-name: {% raw %}ghcr.io/${{ github.repository }}{% endraw %}
Expand Down
10 changes: 5 additions & 5 deletions tests/template/__snapshots__/test_workflows.ambr
Original file line number Diff line number Diff line change
Expand Up @@ -1380,18 +1380,18 @@
uses: actions/checkout@v7

- name: 🛠️ Set up buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@v4

- name: 🔑 Log in to the container registry
uses: docker/login-action@v3
uses: docker/login-action@v4
if: ${{ github.event_name != 'pull_request' }}
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: 📡 Collect image metadata
uses: docker/metadata-action@v5
uses: docker/metadata-action@v6
id: meta
with:
images: ghcr.io/${{ github.repository }}
Expand All @@ -1403,7 +1403,7 @@
type=sha

- name: 📦 Build and publish container image
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
id: push
with:
context: .
Expand All @@ -1415,7 +1415,7 @@
cache-to: type=gha,mode=max

- name: 🔒 Attest build provenance
uses: actions/attest-build-provenance@v2
uses: actions/attest-build-provenance@v4
if: ${{ github.event_name != 'pull_request' }}
with:
subject-name: ghcr.io/${{ github.repository }}
Expand Down
Loading