Skip to content

Commit

Permalink
ci: Remove workflow-dispatch from release-please workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmidyson committed Jun 11, 2024
1 parent 4b62fec commit d45450d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/release-please-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,3 @@ jobs:
id: release-please
with:
token: ${{ steps.app-token.outputs.token }}
- if: ${{ steps.release-please.outputs.release_created }}
name: Run release workflow
uses: benc-uk/workflow-dispatch@25b02cc069be46d637e8fe2f1e8484008e9e9609 # v1
with:
workflow: release-tag.yaml
ref: ${{ steps.release-please.outputs.tag_name }}
13 changes: 9 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ release:
**Full Changelog**: https://github.com/mesosphere/mindthegap/compare/{{ .PreviousTag }}...{{ .Tag }}
builds:
- dir: ./cmd/mindthegap
- id: mindthegap
dir: ./cmd/mindthegap
env:
- CGO_ENABLED=0
flags:
Expand Down Expand Up @@ -64,12 +65,17 @@ upx:
lzma: true

archives:
- format_overrides:
- name_template: '{{ .ProjectName }}_v{{trimprefix .Version "v"}}_{{ .Os }}_{{ .Arch }}'
format_overrides:
- goos: windows
format: zip
builds:
- mindthegap

kos:
- labels:
- id: mindthegap
build: mindthegap
labels:
org.opencontainers.image.created: "{{ .CommitDate }}"
org.opencontainers.image.title: mindthegap
org.opencontainers.image.revision: "{{ .FullCommit }}"
Expand All @@ -87,4 +93,3 @@ checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incminor .Tag }}-dev"
report_sizes: true

0 comments on commit d45450d

Please sign in to comment.