diff --git a/Dockerfile b/Dockerfile index afff3a9..0a4800e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,9 @@ RUN go build -o dist/dagger-go main.go FROM harbor.front.kjuulh.io/docker-proxy/library/docker:dind +RUN apt install git + WORKDIR /src/docker COPY --from=builder /src/builder/dist/dagger-go . + diff --git a/dagger_go_template.yaml b/dagger_go_template.yaml index 20039cf..835152b 100644 --- a/dagger_go_template.yaml +++ b/dagger_go_template.yaml @@ -1,4 +1,4 @@ -{{ $imageTag := printf "harbor.front.kjuulh.io/library/%s" .repo.name }} +{{ $imageTag := "harbor.front.kjuulh.io/library/${DRONE_REPO_NAME}" }} type: docker kind: pipeline