with imagetag

This commit is contained in:
Kasper Juul Hermansen 2022-10-29 18:40:14 +02:00
parent 9dd3b2a776
commit 11f30fe968
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23

View File

@ -17,7 +17,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 {{ .input.imageTag | default $imageTag }}'
- 'docker run -v /var/run/docker.sock:/var/run/docker.sock dagger-go-builder:${DRONE_COMMIT} ./dagger-go build {{ or .input.imageTag $imageTag }}'
services:
- name: docker