Skip to content
This repository has been archived by the owner on Feb 11, 2025. It is now read-only.

Commit

Permalink
Remove snapshot flag from goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
kakkoyun committed Jun 11, 2020
1 parent 0933740 commit 847ba5d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 14 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ jobs:
uses: goreleaser/goreleaser-action@v1
with:
version: v0.137.0
args: release --rm-dist --snapshot --config=.goreleaser-snapshot.yml
# not using --snapshot because we want to push images for snapshots
args: release --rm-dist --config=.goreleaser-snapshot.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
Expand Down
13 changes: 1 addition & 12 deletions .goreleaser-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,18 +91,7 @@ dockers:
- drone-cache
image_templates:
- "meltwater/drone-cache:{{ .Tag }}"

# TODO: Add missing GOOS and ARCH
# .Os GOOS (usually allow replacements)
# .Arch GOARCH (usually allow replacements)
# .Arm GOARM (usually allow replacements)
# .Mips GOMIPS (usually allow replacements)
# TODO: Add more mirror registries
# - "docker.pkg.github.com/meltwater/drone-cache/drone-cache:latest"
# - "docker.pkg.github.com/meltwater/drone-cache/drone-cache:{{ .Tag }}"
# - "docker.pkg.github.com/meltwater/drone-cache/drone-cache:v{{ .Major }}.{{ .Minor }}"
# - "docker.pkg.github.com/meltwater/drone-cache/drone-cache:v{{ .Major }}"

skip_push: false
dockerfile: Dockerfile
build_flag_templates:
- "--label=org.label-schema.schema-version=1.0"
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ release:
owner: meltwater
name: drone-cache
prerelease: auto # in case there is an indicator for this in the tag e.g. v1.0.0-rc1
draft: true
draft: true # we want human in the loop
changelog:
sort: asc
filters:
Expand Down

0 comments on commit 847ba5d

Please sign in to comment.