Skip to content

Commit 4705ae1

Browse files
committed
ci: fix docker build
1 parent 4a1b318 commit 4705ae1

File tree

3 files changed

+19
-8
lines changed

3 files changed

+19
-8
lines changed

.circleci/config.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ jobs:
3636
- run: dep ensure -vendor-only
3737

3838
- setup_remote_docker
39-
- run: echo $DOCKER_PASSWORD | docker login -u $DOCKER_USER --password-stdin
39+
- run:
40+
name: docker login
41+
command: echo $DOCKER_PASSWORD | docker login -u $DOCKER_USER --password-stdin
4042
- run:
4143
name: goreleaser
4244
command: curl -sL https://git.io/goreleaser | bash

.goreleaser.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ release:
33
github:
44
owner: itzg
55
name: rcon-cli
6-
brew:
7-
install: bin.install "rcon-cli"
86
builds:
97
- goos:
108
- linux
@@ -32,9 +30,20 @@ archive:
3230
- CHANGELOG*
3331
snapshot:
3432
name_template: SNAPSHOT-{{ .Commit }}
35-
dockers:
36-
- image: itzg/rcon-cli
3733
changelog:
3834
filters:
3935
exclude:
40-
- '^ci:'
36+
- '^ci:'
37+
dockers:
38+
- image: itzg/rcon-cli
39+
goos: linux
40+
goarch: amd64
41+
tag_templates:
42+
- "{{ .Tag }}"
43+
- latest
44+
scoop:
45+
bucket:
46+
owner: itzg
47+
name: scoop-bucket
48+
license: Apache2
49+
description: Enables REST-like access to HTML pages by scraping and parsing them into JSON

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
FROM scratch
2-
COPY rcon-cli /usr/bin/
3-
ENTRYPOINT /usr/bin/rcon-cli
2+
COPY rcon-cli /
3+
ENTRYPOINT /rcon-cli

0 commit comments

Comments
 (0)