Skip to content

Commit 4e59b2c

Browse files
committed
testactions
1 parent 62f6b2a commit 4e59b2c

File tree

2 files changed

+68
-68
lines changed

2 files changed

+68
-68
lines changed

.goreleaser.yaml

+67-67
Original file line numberDiff line numberDiff line change
@@ -57,74 +57,74 @@ builds:
5757
# - v2
5858
# - v3
5959

60-
dockers:
61-
# You can declare multiple Docker images.
62-
# They will be matched against the binaries generated by your builds section
63-
# and packages generated by your nfpms section.
60+
# dockers:
61+
# # You can declare multiple Docker images.
62+
# # They will be matched against the binaries generated by your builds section
63+
# # and packages generated by your nfpms section.
6464

65-
# Templates of the Docker image names.
66-
# if prefix URL, docker img will push.
67-
- image_templates:
68-
- "docker.io/brothersam/guanceexample:{{ .Version }}-amd64"
69-
# - "gcr.io/brothersam/guanceexample:{{ .Version }}"
70-
# - "brothersam/guanceexample:{{ .Version }}"
71-
72-
# GOOS of the built binaries/packages that should be used.
73-
# goos: linux
74-
75-
# GOARCH of the built binaries/packages that should be used.
76-
goarch: amd64
77-
78-
# GOAMD64 of the built binaries/packages that should be used.
79-
# goamd64: 'v2'
80-
81-
# Skips the docker push.
82-
# Could be useful if you also do draft releases.
83-
# If set to auto, the release will not be pushed to the Docker repository
84-
# in case there is an indicator of a prerelease in the tag, e.g. v1.0.0-rc1.
85-
# Defaults to false.
86-
skip_push: false
87-
88-
# Path to the Dockerfile (from the project root).
89-
# Defaults to `Dockerfile`.
90-
dockerfile: Dockerfile
91-
92-
# Set the "backend" for the Docker pipe.
93-
# Valid options are: docker, buildx, podman.
94-
# podman is a GoReleaser Pro feature and is only available on Linux.
95-
# Defaults to docker.
96-
use: docker
97-
98-
# Template of the docker build flags.
99-
build_flag_templates:
100-
- --platform=linux/amd64
101-
- --label=org.opencontainers.image.title={{ .ProjectName }}
102-
- --label=org.opencontainers.image.description={{ .ProjectName }}
103-
- --label=org.opencontainers.image.url=https://github.com/brothersam66/testgoreleaser
104-
- --label=org.opencontainers.image.source=https://github.com/brothersam66/testgoreleaser
105-
- --label=org.opencontainers.image.version={{ .Version }}
106-
- --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
107-
- --label=org.opencontainers.image.revision={{ .FullCommit }}
108-
- --label=org.opencontainers.image.licenses=MIT
109-
110-
- image_templates:
111-
- "docker.io/brothersam/guanceexample:{{ .Version }}-arm64v8"
112-
# goos: linux
113-
goarch: arm64
114-
# goarm: 'v6'
115-
skip_push: false
116-
dockerfile: Dockerfile
117-
use: docker
118-
build_flag_templates:
119-
- --platform=linux/arm64/v8
120-
- --label=org.opencontainers.image.title={{ .ProjectName }}
121-
- --label=org.opencontainers.image.description={{ .ProjectName }}
122-
- --label=org.opencontainers.image.url=https://github.com/brothersam66/testgoreleaser
123-
- --label=org.opencontainers.image.source=https://github.com/brothersam66/testgoreleaser
124-
- --label=org.opencontainers.image.version={{ .Version }}
125-
- --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
126-
- --label=org.opencontainers.image.revision={{ .FullCommit }}
127-
- --label=org.opencontainers.image.licenses=MIT
65+
# # Templates of the Docker image names.
66+
# # if prefix URL, docker img will push.
67+
# - image_templates:
68+
# - "docker.io/brothersam/guanceexample:{{ .Version }}-amd64"
69+
# # - "gcr.io/brothersam/guanceexample:{{ .Version }}"
70+
# # - "brothersam/guanceexample:{{ .Version }}"
71+
72+
# # GOOS of the built binaries/packages that should be used.
73+
# # goos: linux
74+
75+
# # GOARCH of the built binaries/packages that should be used.
76+
# goarch: amd64
77+
78+
# # GOAMD64 of the built binaries/packages that should be used.
79+
# # goamd64: 'v2'
80+
81+
# # Skips the docker push.
82+
# # Could be useful if you also do draft releases.
83+
# # If set to auto, the release will not be pushed to the Docker repository
84+
# # in case there is an indicator of a prerelease in the tag, e.g. v1.0.0-rc1.
85+
# # Defaults to false.
86+
# skip_push: false
87+
88+
# # Path to the Dockerfile (from the project root).
89+
# # Defaults to `Dockerfile`.
90+
# dockerfile: Dockerfile
91+
92+
# # Set the "backend" for the Docker pipe.
93+
# # Valid options are: docker, buildx, podman.
94+
# # podman is a GoReleaser Pro feature and is only available on Linux.
95+
# # Defaults to docker.
96+
# use: docker
97+
98+
# # Template of the docker build flags.
99+
# build_flag_templates:
100+
# - --platform=linux/amd64
101+
# - --label=org.opencontainers.image.title={{ .ProjectName }}
102+
# - --label=org.opencontainers.image.description={{ .ProjectName }}
103+
# - --label=org.opencontainers.image.url=https://github.com/brothersam66/testgoreleaser
104+
# - --label=org.opencontainers.image.source=https://github.com/brothersam66/testgoreleaser
105+
# - --label=org.opencontainers.image.version={{ .Version }}
106+
# - --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
107+
# - --label=org.opencontainers.image.revision={{ .FullCommit }}
108+
# - --label=org.opencontainers.image.licenses=MIT
109+
110+
# - image_templates:
111+
# - "docker.io/brothersam/guanceexample:{{ .Version }}-arm64v8"
112+
# # goos: linux
113+
# goarch: arm64
114+
# # goarm: 'v6'
115+
# skip_push: false
116+
# dockerfile: Dockerfile
117+
# use: docker
118+
# build_flag_templates:
119+
# - --platform=linux/arm64/v8
120+
# - --label=org.opencontainers.image.title={{ .ProjectName }}
121+
# - --label=org.opencontainers.image.description={{ .ProjectName }}
122+
# - --label=org.opencontainers.image.url=https://github.com/brothersam66/testgoreleaser
123+
# - --label=org.opencontainers.image.source=https://github.com/brothersam66/testgoreleaser
124+
# - --label=org.opencontainers.image.version={{ .Version }}
125+
# - --label=org.opencontainers.image.created={{ time "2006-01-02T15:04:05Z07:00" }}
126+
# - --label=org.opencontainers.image.revision={{ .FullCommit }}
127+
# - --label=org.opencontainers.image.licenses=MIT
128128

129129

130130
# # GoReleaser can be wired to nfpm to generate and publish .deb, .rpm and .apk packages.

release.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ git add .
22
# testcommit: your commite message
33
git commit -m "testactions"
44
# vXX.XX.XX: your version. your tag
5-
git tag -a v0.5.01 -m "test release"
5+
git tag -a v0.5.02 -m "test release"
66
# master: your branch name
77
git push origin master
88
# release and push to github & docker.io

0 commit comments

Comments
 (0)