This commit is contained in:
45
.drone.yml
45
.drone.yml
@@ -1,38 +1,19 @@
|
|||||||
kind: pipeline
|
kind: pipeline
|
||||||
|
type: podman
|
||||||
name: salt-docker-master
|
name: salt-docker-master
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
os: linux
|
os: linux
|
||||||
arch: arm64
|
arch: arm64
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
repo: cr.wks/salt
|
repo: cr.wks/salt
|
||||||
registry: cr.wks
|
registry: http://cr.wks
|
||||||
insecure: true
|
insecure: true
|
||||||
debug: true
|
debug: true
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
when:
|
|
||||||
event:
|
|
||||||
- push
|
|
||||||
|
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
name: docker-test
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: test
|
|
||||||
image: docker:dind
|
|
||||||
volumes:
|
|
||||||
- name: dockersock
|
|
||||||
path: /var/run/docker.sock
|
|
||||||
commands:
|
|
||||||
- docker ps -a
|
|
||||||
|
|
||||||
volumes:
|
|
||||||
- name: dockersock
|
|
||||||
host:
|
|
||||||
path: /var/run/podman/podman.sock
|
|
||||||
|
|||||||
Reference in New Issue
Block a user