Fix go build in Dockerfile
Switch to woodpeckerci repo
This commit is contained in:
parent
81145bc0a3
commit
88b9cd019d
@ -5,8 +5,11 @@ clone:
|
|||||||
pipeline:
|
pipeline:
|
||||||
publish:
|
publish:
|
||||||
image: plugins/kaniko
|
image: plugins/kaniko
|
||||||
repo: foo/bar
|
repo: woodpeckerci/plugin-docker-buildx
|
||||||
no-push: true
|
|
||||||
tags: latest
|
tags: latest
|
||||||
username: foo
|
secrets:
|
||||||
|
- source: docker_username
|
||||||
|
target: plugin_username
|
||||||
|
- source: docker_password
|
||||||
|
target: plugin_password
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
|
@ -3,7 +3,7 @@ FROM golang:1.17-alpine as build
|
|||||||
COPY . /src
|
COPY . /src
|
||||||
WORKDIR /src
|
WORKDIR /src
|
||||||
|
|
||||||
RUN go build -v -a -tags netgo ./cmd/docker-buildx -o docker-buildx
|
RUN go build -v -a -tags netgo -o docker-buildx ./cmd/docker-buildx
|
||||||
|
|
||||||
FROM docker:20.10-dind
|
FROM docker:20.10-dind
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user