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