Skip to content

Commit 5979766

Browse files
author
Vic Shóstak
committed
Update goreleaser dockers build
1 parent e9c729b commit 5979766

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

.goreleaser.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,20 @@ dockers:
3232
binaries:
3333
- cgapp
3434

35+
# Skips the docker push. Could be useful if you also do draft releases.
36+
# If set to auto, the release will not be pushed to the docker repository
37+
# in case there is an indicator for prerelease in the tag e.g. v1.0.0-rc1
38+
# skip_push: true
39+
3540
# Templates of the Docker image names.
3641
image_templates:
37-
- "koddr/cgapp:v{{ .Major }}"
38-
- "koddr/cgapp:{{ .Tag }}"
39-
- "koddr/cgapp:latest"
42+
- "koddr/cgapp:{{ .Major }}.{{ .Minor }}.{{ .Patch }}"
43+
- "koddr/cgapp:{{ .Major }}.{{ .Minor }}"
44+
- "koddr/cgapp:{{ .Major }}"
45+
- "koddr/cgapp-deploy:latest"
4046

4147
# Path to the Dockerfile (from the project root).
42-
dockerfile: Dockerfile
48+
dockerfile: Dockerfile.deploy
4349

4450
archives:
4551
- # Replacements for GOOS and GOARCH in the archive name.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
First of all, [download](https://golang.org/dl/) and install **Go**. Version `1.11` or higher is required.
1212

13-
Next, download the **latest** version of the Create Go App CLI to your computer:
13+
Next, download the **latest** version of the Create Go App CLI to your system:
1414

1515
```bash
1616
go get -u github.com/create-go-app/cli
@@ -22,7 +22,7 @@ Installation is done by using the [`go build`](https://golang.org/cmd/go/#hdr-Co
2222
go build -i -o $GOPATH/bin/cgapp github.com/create-go-app/cli
2323
```
2424

25-
Let's create a new project via **interactive console UI** (or **CUI**) into current folder:
25+
Let's create a new project via **interactive console UI** (or **CUI** for short) into current folder:
2626

2727
```bash
2828
cgapp create

0 commit comments

Comments
 (0)