mirror of
https://github.com/step-security/harden-runner.git
synced 2026-06-08 07:47:13 +00:00
Update release.yml
This commit is contained in:
parent
48b958aa8d
commit
3b7b2a9453
1 changed files with 15 additions and 2 deletions
21
.github/workflows/release.yml
vendored
21
.github/workflows/release.yml
vendored
|
|
@ -22,10 +22,23 @@ jobs:
|
|||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- uses: step-security/harden-runner@v1
|
||||
with:
|
||||
egress-policy: audit
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Update the ${{ env.TAG_NAME }} tag
|
||||
id: update-major-tag
|
||||
uses: step-security/publish-action@63abd0d521e21329399edb30e8f577a7ab85443c
|
||||
- name: Update the rc tag
|
||||
uses: step-security/publish-action@cde4f11ad41e4f61d537fbbb989ea5fe812f8d50
|
||||
with:
|
||||
source-tag: ${{ env.TAG_NAME }}
|
||||
rc: true
|
||||
|
||||
- name: Canary test
|
||||
uses: docker://ghcr.io/step-security/integration-test/int:latest
|
||||
env:
|
||||
PAT: ${{ secrets.PAT }}
|
||||
canary: true
|
||||
|
||||
- name: Update the ${{ env.TAG_NAME }} tag
|
||||
uses: step-security/publish-action@cde4f11ad41e4f61d537fbbb989ea5fe812f8d50
|
||||
with:
|
||||
source-tag: ${{ env.TAG_NAME }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue