0
0
mirror of https://github.com/thegeeklab/wp-github-comment.git synced 2024-11-21 13:50:40 +00:00

fix release path in dockerfile

This commit is contained in:
Robert Kaussow 2020-09-20 14:05:14 +02:00
parent c40e80f9a9
commit 416400e89b
No known key found for this signature in database
GPG Key ID: 65362AE74AF98B61
3 changed files with 6 additions and 6 deletions

View File

@ -82,7 +82,7 @@ local PipelineBuildContainer(arch='amd64') = {
name: 'build',
image: 'golang:1.14',
commands: [
'go build -v -ldflags "-X main.version=${DRONE_TAG:-devel}" -a -tags netgo -o release/drone-github-comment ./cmd/drone-github-comment',
'go build -v -ldflags "-X main.version=${DRONE_TAG:-latest}" -a -tags netgo -o release/drone-github-comment ./cmd/drone-github-comment',
],
},
{

View File

@ -61,7 +61,7 @@ steps:
- name: build
image: golang:1.14
commands:
- go build -v -ldflags "-X main.version=${DRONE_TAG:-devel}" -a -tags netgo -o release/drone-github-comment ./cmd/drone-github-comment
- go build -v -ldflags "-X main.version=${DRONE_TAG:-latest}" -a -tags netgo -o release/drone-github-comment ./cmd/drone-github-comment
- name: dryrun
image: plugins/docker:18-linux-amd64
@ -137,7 +137,7 @@ steps:
- name: build
image: golang:1.14
commands:
- go build -v -ldflags "-X main.version=${DRONE_TAG:-devel}" -a -tags netgo -o release/drone-github-comment ./cmd/drone-github-comment
- go build -v -ldflags "-X main.version=${DRONE_TAG:-latest}" -a -tags netgo -o release/drone-github-comment ./cmd/drone-github-comment
- name: dryrun
image: plugins/docker:18-linux-arm64
@ -213,7 +213,7 @@ steps:
- name: build
image: golang:1.14
commands:
- go build -v -ldflags "-X main.version=${DRONE_TAG:-devel}" -a -tags netgo -o release/drone-github-comment ./cmd/drone-github-comment
- go build -v -ldflags "-X main.version=${DRONE_TAG:-latest}" -a -tags netgo -o release/drone-github-comment ./cmd/drone-github-comment
- name: dryrun
image: plugins/docker:18-linux-arm
@ -373,6 +373,6 @@ depends_on:
---
kind: signature
hmac: fa46849990e44b936857644dc55ffdc93704b2fda813878573f43640dc3d2600
hmac: a082ae36a906ec50e97966c07586d881c0430d4f48d2a14642dc388817e5533f
...

View File

@ -5,5 +5,5 @@ LABEL maintainer="Robert Kaussow <mail@thegeeklab.de>" \
org.label-schema.vendor="Robert Kaussow" \
org.label-schema.schema-version="1.0"
ADD release/drone-github-release /bin/
ADD /drone/src/release/drone-github-release /bin/
ENTRYPOINT [ "/bin/drone-github-release" ]