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

35 lines
601 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
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