added base dagger_go_template.yaml
This commit is contained in:
commit
c87f0aab4c
28
dagger_go_template.yaml
Normal file
28
dagger_go_template.yaml
Normal file
@ -0,0 +1,28 @@
|
||||
type: docker
|
||||
kind: pipeline
|
||||
name: "drone-dagger-test"
|
||||
|
||||
steps:
|
||||
- name: "build"
|
||||
image: harbor.front.kjuulh.io/docker-proxy/library/docker:dind
|
||||
volumes:
|
||||
- name: dockersock
|
||||
path: /var/run
|
||||
environment:
|
||||
DOCKER_BUILDKIT: 1
|
||||
commands:
|
||||
- "sleep 5"
|
||||
- docker build -t dagger-go-builder:${DRONE_COMMIT} .
|
||||
- "docker run -v /var/run/docker.sock:/var/run/docker.sock dagger-go-builder:${DRONE_COMMIT} ./dagger-go production"
|
||||
|
||||
services:
|
||||
- name: docker
|
||||
image: docker:dind
|
||||
privileged: true
|
||||
volumes:
|
||||
- name: dockersock
|
||||
path: /var/run
|
||||
|
||||
volumes:
|
||||
- name: dockersock
|
||||
temp: {}
|
Loading…
Reference in New Issue
Block a user