Skip to content

Commit

Permalink
Updates cosign step (#16)
Browse files Browse the repository at this point in the history
* Updates cosign step

* Updated go_cicd.yml trigger

Now workflow will be triggered manually on specific branch.
Also trigered when pushing to main
  • Loading branch information
chefgs authored Jul 25, 2024
1 parent 8f3181e commit 618c888
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/go_cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@
name: Link-to-QR CICD

on:
push:
branches: [ "**" ]
pull_request:
workflow_dispatch:
push:
branches: [ "main" ]
# pull_request:
# branches: [ "main" ]

jobs:

Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/linktoqr_ci_gh_registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 618c888

Please sign in to comment.