Skip to content

Commit b7c5ebe

Browse files
authored
Remove releasing docker images, but extend FAQ
1 parent fe0c22b commit b7c5ebe

File tree

4 files changed

+6
-22
lines changed

4 files changed

+6
-22
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ jobs:
1515
- uses: actions/setup-go@v2
1616
with:
1717
go-version: 1.14
18-
- run: docker login docker.pkg.github.com -u docker -p ${{ secrets.GITHUB_TOKEN }}
1918
- uses: goreleaser/goreleaser-action@v2
2019
with:
2120
version: v0.138.0

.goreleaser.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,3 @@ archives:
1414
release:
1515
github:
1616
prerelease: auto
17-
dockers:
18-
- binaries:
19-
- "{{ .ProjectName }}"
20-
image_templates:
21-
- "docker.pkg.github.com/golang-templates/seed/{{ .ProjectName }}:latest"
22-
- "docker.pkg.github.com/golang-templates/seed/{{ .ProjectName }}:v{{ .Major }}"
23-
- "docker.pkg.github.com/golang-templates/seed/{{ .ProjectName }}:v{{ .Major }}.{{ .Minor }}"
24-
- "docker.pkg.github.com/golang-templates/seed/{{ .ProjectName }}:v{{ .Major }}.{{ .Minor }}.{{ .Patch }}"
25-
build_flag_templates:
26-
- "--pull"
27-
- "--label=org.opencontainers.image.created={{.Date}}"
28-
- "--label=org.opencontainers.image.name={{.ProjectName}}"
29-
- "--label=org.opencontainers.image.revision={{.FullCommit}}"
30-
- "--label=org.opencontainers.image.version={{.Version}}"
31-
- "--label=org.opencontainers.image.source={{.GitURL}}"

Dockerfile

Lines changed: 0 additions & 3 deletions
This file was deleted.

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ It includes:
2727

2828
1. Click the `Use this template` button (alt. clone or download this repository).
2929
1. Replace all occurences of `golang-templates/seed` to `your_org/repo_name` in all files.
30-
1. Replace all occurences of `seed` to `repo_name` in [Dockerfile](Dockerfile).
3130
1. Change [LICENSE](LICENSE) and [README.md](README.md).
3231

3332
## Build
@@ -46,7 +45,6 @@ Notable files:
4645
- [.vscode](.vscode) - Visual Studio Code configuration files
4746
- [.golangci.yml](.golangci.yml) - golangci-lint configuration
4847
- [.goreleaser.yml](.goreleaser.yml) - GoReleaser configuration
49-
- [Dockerfile](Dockerfile) - Dockerfile used by GoReleaser to create a container image
5048
- [install-tools.sh](install-tools.sh) - build tools installation script
5149
- [Makefile](Makefile) - Make targets used for development, [CI build](.github/workflows) and [.vscode/tasks.json](.vscode/tasks.json)
5250

@@ -63,12 +61,17 @@ The maintainer does not use GoLand. Fell free to create a pull request for [#2](
6361
### Why GitHub Actions, not any other CI server
6462

6563
GitHub Actions is out-of-the-box if you are already using GitHub.
66-
However, changing to any other CI server should be very simple, because this repository has build logic and tooling installation in Makefile. You can also use the `docker` make target to run the build inside a docker container.
64+
However, changing to any other CI server should be very simple, because this repository has build logic and tooling installation in Makefile. You can also use the `docker` make target to run the build using a docker container.
6765

6866
### How can I use Make on Windows
6967

7068
Use [WSL (Windows Subsystem for Linux)](https://docs.microsoft.com/en-us/windows/wsl/install-win10) or try [Make Windows port](https://gist.github.com/evanwill/0207876c3243bbb6863e65ec5dc3f058).
7169

70+
### How can I create a Docker image, deb/rpm/snap package, Homebrew Tap, Scoop App Manifest etc.
71+
72+
Take a look at GoReleaser [docs](https://goreleaser.com/customization/) as well as [its repo](https://github.com/goreleaser/goreleaser/) how it is dogfooding its functionality.
73+
74+
7275
### How can I create an application installation script
7376

7477
1. Install [GoDownloader](https://github.com/goreleaser/godownloader)

0 commit comments

Comments
 (0)