Skip to content

Commit 60b9488

Browse files
leogrpoiana
authored andcommitted
fix: enable goreleaser push for main
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
1 parent f3355e4 commit 60b9488

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/publish-main.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,4 @@ jobs:
4141
args: release --snapshot --rm-dist --timeout 60m --config .goreleaser.main.yml
4242
env:
4343
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
44+
GORELEASER_CURRENT_TAG: main

.goreleaser.main.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ dockers:
2323
dockerfile: Dockerfile
2424
image_templates:
2525
- "falcosecurity/event-generator:main-amd64"
26+
skip_push: false
2627
build_flag_templates:
2728
- "--pull"
2829
- "--label=org.opencontainers.image.created={{.Date}}"
@@ -45,6 +46,7 @@ dockers:
4546
dockerfile: Dockerfile
4647
image_templates:
4748
- "falcosecurity/event-generator:main-arm64v8"
49+
skip_push: false
4850
build_flag_templates:
4951
- "--platform=linux/arm64/v8"
5052
- "--pull"
@@ -71,3 +73,7 @@ docker_manifests:
7173
# Skip the GitHub release for the main branch workflow
7274
release:
7375
disable: true
76+
77+
# Configure snapshot naming
78+
snapshot:
79+
name_template: "main"

0 commit comments

Comments
 (0)