Skip to content

Commit

Permalink
Merge pull request #187 from nicolasbock/release-workflow
Browse files Browse the repository at this point in the history
Change workflow triggers
  • Loading branch information
nicolasbock authored Sep 11, 2024
2 parents ebb9ee4 + e4b8217 commit 33a2c1b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 9 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/docker-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
workflows: [Test and Build]
types:
- completed
release:
types:
- published

env:
REGISTRY: docker.io
Expand All @@ -28,12 +31,6 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install cosign
if: github.event_name != 'pull_request'
uses: sigstore/cosign-installer@v3
with:
cosign-release: 'v2.1.1'

- name: Get packages
uses: actions/download-artifact@v4
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ghcr-publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
workflows: [Test and Build]
types:
- completed
release:
types:
- published

env:
REGISTRY: ghcr.io
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/test-and-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ on:
push:
branches:
- main
tags:
- 'v*.*.*' # v0.1.2
- 'v20*' # v20240613[-1]
pull_request:
branches:
- main
Expand Down

0 comments on commit 33a2c1b

Please sign in to comment.