mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-16 05:54:24 +00:00
DinD
This commit is contained in:
+9
-5
@@ -1,10 +1,14 @@
|
||||
---
|
||||
pipeline:
|
||||
test:
|
||||
image: plugins/docker
|
||||
dockerfile: Dockerfile.prod
|
||||
repo: rancher/docs
|
||||
context: .
|
||||
build:
|
||||
privileged: true
|
||||
image: docker:stable-dind
|
||||
volumes:
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
commands:
|
||||
- docker build -f Dockerfile.prod .
|
||||
when:
|
||||
event: [pull_request]
|
||||
|
||||
docker-publish-dev:
|
||||
group: publish
|
||||
|
||||
Reference in New Issue
Block a user