From 79ca833243e379eb168f12f4fe1d3a8bf587503f Mon Sep 17 00:00:00 2001 From: Saravanan G Date: Thu, 25 Jul 2024 14:22:54 +0530 Subject: [PATCH 1/2] Updates cosign step --- .github/workflows/linktoqr_ci_gh_registry.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/linktoqr_ci_gh_registry.yml b/.github/workflows/linktoqr_ci_gh_registry.yml index 62bff66..df2db2b 100644 --- a/.github/workflows/linktoqr_ci_gh_registry.yml +++ b/.github/workflows/linktoqr_ci_gh_registry.yml @@ -51,9 +51,7 @@ jobs: # https://github.com/sigstore/cosign-installer - name: Install cosign if: github.event_name != 'pull_request' - uses: sigstore/cosign-installer@v3.1.1 - with: - cosign-release: 'v2.1.1' # Optional + uses: sigstore/cosign-installer@v3.5.0 - name: Setup docker uses: docker/setup-buildx-action@v2.7.0 From fda3e198d8f86f2ade7cde105df639420b036333 Mon Sep 17 00:00:00 2001 From: Saravanan G Date: Thu, 25 Jul 2024 14:40:39 +0530 Subject: [PATCH 2/2] Updated go_cicd.yml trigger Now workflow will be triggered manually on specific branch. Also trigered when pushing to main --- .github/workflows/go_cicd.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/go_cicd.yml b/.github/workflows/go_cicd.yml index 49f6fd3..69e35fd 100644 --- a/.github/workflows/go_cicd.yml +++ b/.github/workflows/go_cicd.yml @@ -4,10 +4,11 @@ name: Link-to-QR CICD on: - push: - branches: [ "**" ] - pull_request: + workflow_dispatch: + push: branches: [ "main" ] +# pull_request: +# branches: [ "main" ] jobs: