Skip to content

Commit

Permalink
Add publish skip
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Rockwood <benr@cuddletech.com>
  • Loading branch information
benr committed Aug 25, 2023
1 parent dd0cc18 commit e571bf2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
tags:
- '*'
workflow_dispatch:
inputs:
skip-publish:
description: 'Skip publishing to releases.mondoo.com'
required: false
default: false

env:
REGISTRY: docker.io
Expand Down Expand Up @@ -121,6 +126,7 @@ jobs:
done
- name: Publish Release to releases.mondoo.com
if: ${{ ! inputs.skip-publish }}
uses: peter-evans/repository-dispatch@v2
with:
token: ${{ secrets.RELEASR_ACTION_TOKEN }}
Expand All @@ -132,5 +138,6 @@ jobs:
}'

- name: Cleanup
if: always()
run:
rm -f ${CERT_PATH}

0 comments on commit e571bf2

Please sign in to comment.