with dagger go
This commit is contained in:
parent
f5d28094c8
commit
ce87d554dd
@ -10,5 +10,5 @@ FROM harbor.front.kjuulh.io/docker-proxy/library/docker:dind
|
||||
|
||||
WORKDIR /src/docker
|
||||
|
||||
COPY --from=builder /src/builder/dist/dagger-go .
|
||||
COPY --from=builder /src/builder/dist/dagger-go /usr/bin/
|
||||
|
||||
|
@ -18,7 +18,7 @@ steps:
|
||||
- mkdir -p tmp/dagger-go
|
||||
- git clone "https://git.front.kjuulh.io/kjuulh/dagger-go.git" tmp/dagger-go
|
||||
- docker build -t dagger-go-builder:${DRONE_COMMIT} -f tmp/dagger-go/Dockerfile .
|
||||
- 'docker run -v /var/run/docker.sock:/var/run/docker.sock dagger-go-builder:${DRONE_COMMIT} ./dagger-go build --image-tag "{{ or .input.imageTag $imageTag }}"'
|
||||
- 'docker run -v "$PWD/:/src/build" -v /var/run/docker.sock:/var/run/docker.sock dagger-go-builder:${DRONE_COMMIT} dagger-go build --image-tag "{{ or .input.imageTag $imageTag }}"'
|
||||
|
||||
services:
|
||||
- name: docker
|
||||
|
Loading…
Reference in New Issue
Block a user