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
2 changes: 1 addition & 1 deletion .github/workflows/dev-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ jobs:
build:
name: Build
permissions:
contents: write
packages: write
id-token: write
needs: preflight
uses: ./.github/workflows/publish.yaml
with:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/manual-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
name: Publish
permissions:
packages: write
id-token: write
needs: preflight
uses: ./.github/workflows/publish.yaml
with:
Expand Down
7 changes: 7 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,13 @@ jobs:
runs-on: ubuntu-latest
permissions:
packages: write
id-token: write
steps:
- uses: actions/checkout@v6
- name: Install crane
uses: reconcilerio/install-crane-action@v1
- name: Install cosign
uses: sigstore/cosign-installer@v4.1.2
- name: Download staged image
uses: actions/download-artifact@v8
with:
Expand All @@ -252,6 +255,10 @@ jobs:
crane push \
"wasmtime-${{ inputs.tag }}" \
"${{ env.image }}"
- name: Sign
run: |
cosign sign --yes \
"${{ env.image }}"
- name: Additional tags
if: inputs.additional-tags
run: |
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ jobs:
permissions:
# called workflow requires write even though it's never used from here
packages: write
id-token: write
needs: preflight
strategy:
fail-fast: false
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ jobs:
name: Publish
permissions:
packages: write
id-token: write
needs: preflight
strategy:
fail-fast: false
Expand Down
Loading