Files
bastionssh/.drone.yml
Eric Coissac a42eefb5e6
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is failing
Actualiser .drone.yml
2024-01-02 10:47:46 +01:00

36 lines
620 B
YAML

kind: pipeline
type: docker
name: build-images
platform:
os: linux
arch: amd64
volumes:
- name: dockersock
host:
path: /var/run/docker.sock
steps:
- name: build-and-push-image
image: plugins/docker
privileged: true
volumes:
- name: dockersock
path: "/var/run/docker.sock"
settings:
username:
from_secret: registry_username
password:
from_secret: registry_pwd
repo: image/bastionssh
tags:
- nightbuild
dockerfile: ./Dockerfile # Where the Dockerfile is located in your git repository
trigger:
branch:
- main
event:
exclude:
- pull_request