with dagger go

This commit is contained in:
Kasper Juul Hermansen 2022-10-29 22:42:51 +02:00
parent f5d28094c8
commit ce87d554dd
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23
2 changed files with 2 additions and 2 deletions

View File

@ -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/

View File

@ -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