with buildpath

This commit is contained in:
2022-10-29 23:25:31 +02:00
parent e9dd36f1e4
commit f89936200e
3 changed files with 30 additions and 11 deletions

View File

@@ -16,7 +16,7 @@ steps:
- "sleep 5"
- apk add git
- mkdir -p tmp/dagger-go
- git clone "https://git.front.kjuulh.io/kjuulh/dagger-go.git" /mnt/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 "$PWD/:/src/" -v /var/run/docker.sock:/var/run/docker.sock dagger-go-builder:${DRONE_COMMIT} dagger-go build --image-tag "{{ or .input.imageTag $imageTag }}"'