From e4b82176ec4604b431f83029d200e3075263820c Mon Sep 17 00:00:00 2001 From: Nicolas Bock Date: Wed, 11 Sep 2024 10:20:34 -0600 Subject: [PATCH] Change workflow triggers Signed-off-by: Nicolas Bock --- .github/workflows/docker-publish.yaml | 9 +++------ .github/workflows/ghcr-publish.yaml | 3 +++ .github/workflows/test-and-build.yaml | 3 --- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/docker-publish.yaml b/.github/workflows/docker-publish.yaml index a0e626f..b7da5a2 100644 --- a/.github/workflows/docker-publish.yaml +++ b/.github/workflows/docker-publish.yaml @@ -5,6 +5,9 @@ on: workflows: [Test and Build] types: - completed + release: + types: + - published env: REGISTRY: docker.io @@ -27,12 +30,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: diff --git a/.github/workflows/ghcr-publish.yaml b/.github/workflows/ghcr-publish.yaml index 34381b6..2d207ca 100644 --- a/.github/workflows/ghcr-publish.yaml +++ b/.github/workflows/ghcr-publish.yaml @@ -7,6 +7,9 @@ on: workflows: [Test and Build] types: - completed + release: + types: + - published env: REGISTRY: ghcr.io diff --git a/.github/workflows/test-and-build.yaml b/.github/workflows/test-and-build.yaml index e945895..c59035c 100644 --- a/.github/workflows/test-and-build.yaml +++ b/.github/workflows/test-and-build.yaml @@ -6,9 +6,6 @@ on: push: branches: - main - tags: - - 'v*.*.*' # v0.1.2 - - 'v20*' # v20240613[-1] pull_request: branches: - main