ci(release): don't trigger on tag push

This commit is contained in:
Jason
2023-12-07 16:26:01 +11:00
parent 4868f430c7
commit 45ecda63bb
2 changed files with 8 additions and 7 deletions
+5 -5
View File
@@ -98,9 +98,9 @@ jobs:
flux tag artifact oci://ghcr.io/jasonthedeveloper/manifests/podinfo:${{ steps.prep.outputs.VERSION }} --tag latest
- name: Sign OCI artifacts
run: |
notation sign --signature-format cose ghcr.io/jasonthedeveloper/podinfo:${{ steps.prep.outputs.VERSION }} --yes
notation sign --signature-format cose ghcr.io/jasonthedeveloper/charts/podinfo:${{ steps.prep.outputs.VERSION }} --yes
notation sign --signature-format cose ghcr.io/jasonthedeveloper/manifests/podinfo:${{ steps.prep.outputs.VERSION }} --yes
notation sign --signature-format cose ghcr.io/jasonthedeveloper/podinfo:${{ steps.prep.outputs.VERSION }}
notation sign --signature-format cose ghcr.io/jasonthedeveloper/charts/podinfo:${{ steps.prep.outputs.VERSION }}
notation sign --signature-format cose ghcr.io/jasonthedeveloper/manifests/podinfo:${{ steps.prep.outputs.VERSION }}
- name: Publish config artifact
run: |
flux push artifact oci://ghcr.io/jasonthedeveloper/podinfo-deploy:${{ steps.prep.outputs.VERSION }} \
@@ -110,5 +110,5 @@ jobs:
flux tag artifact oci://ghcr.io/jasonthedeveloper/podinfo-deploy:${{ steps.prep.outputs.VERSION }} --tag latest
- name: Sign config artifact
run: |
notation sign --signature-format cose ghcr.io/jasonthedeveloper/podinfo-deploy:${{ steps.prep.outputs.VERSION }} --yes
notation sign --signature-format cose ghcr.io/jasonthedeveloper/podinfo-deploy:latest --yes
notation sign --signature-format cose ghcr.io/jasonthedeveloper/podinfo-deploy:${{ steps.prep.outputs.VERSION }}
notation sign --signature-format cose ghcr.io/jasonthedeveloper/podinfo-deploy:latest
+3 -2
View File
@@ -1,9 +1,10 @@
name: release
on:
pull_request:
push:
tags:
- '*'
branches:
- 'master'
permissions:
contents: read