Merge pull request 'Build the plugin' (#1) from jasonlearst/plugin-docker-buildx:main into main
Reviewed-on: https://codeberg.org/woodpecker-plugins/plugin-docker-buildx/pulls/1
This commit is contained in:
commit
bb74b65e01
@ -5,8 +5,11 @@ clone:
|
||||
pipeline:
|
||||
publish:
|
||||
image: plugins/kaniko
|
||||
repo: foo/bar
|
||||
no-push: true
|
||||
repo: woodpeckerci/plugin-docker-buildx
|
||||
tags: latest
|
||||
username: foo
|
||||
secrets:
|
||||
- source: docker_username
|
||||
target: plugin_username
|
||||
- source: docker_password
|
||||
target: plugin_password
|
||||
dockerfile: Dockerfile
|
||||
|
@ -3,7 +3,7 @@ FROM golang:1.17-alpine as build
|
||||
COPY . /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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user