without git
This commit is contained in:
parent
97bff5baab
commit
165554ee15
@ -8,8 +8,6 @@ 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 .
|
||||
|
@ -14,6 +14,7 @@ steps:
|
||||
DOCKER_BUILDKIT: 1
|
||||
commands:
|
||||
- "sleep 5"
|
||||
- apk add git
|
||||
- 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 .
|
||||
|
Loading…
Reference in New Issue
Block a user