This commit is contained in:
23
.drone.yml
23
.drone.yml
@@ -6,21 +6,26 @@ platform:
|
|||||||
os: linux
|
os: linux
|
||||||
arch: amd64
|
arch: amd64
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: dockersock
|
||||||
|
host:
|
||||||
|
path: /var/run/docker.sock
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: docker
|
- name: build-and-push-image
|
||||||
image: thegeeklab/drone-docker-buildx
|
image: plugins/docker
|
||||||
privileged: true
|
volumes:
|
||||||
|
- name: dockersock
|
||||||
|
path: "/var/run/docker.sock"
|
||||||
settings:
|
settings:
|
||||||
registry: gargoton.coissac.eu
|
|
||||||
username:
|
username:
|
||||||
from_secret: registry_username
|
from_secret: registry_username
|
||||||
password:
|
password:
|
||||||
from_secret: registry_pwd
|
from_secret: registry_pwd
|
||||||
repo: gargoton.coissac.eu/image/bastionssh
|
repo: image/bastionssh
|
||||||
- latest
|
tags:
|
||||||
- 0.0.1
|
- nightbuild
|
||||||
platforms:
|
dockerfile: ./Dockerfile # Where the Dockerfile is located in your git repository
|
||||||
- linux/amd64
|
|
||||||
|
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
|
|||||||
Reference in New Issue
Block a user