Add drone pipeline config
All checks were successful
continuous-integration/drone Build is passing

This commit is contained in:
mr-vercetti 2023-11-25 23:10:32 +01:00
parent fd0e1ec76b
commit 4aa4335b7d

27
.drone.yml Normal file
View File

@ -0,0 +1,27 @@
kind: pipeline
type: docker
name: default
clone:
disable: true
steps:
- name: clone
image: plugins/git
settings:
recursive: true
- name: lint
image: hadolint/hadolint:latest-debian
commands:
- hadolint Dockerfile --no-fail
- name: build and publish
image: plugins/docker
environment:
DOCKER_BUILDKIT: 1
settings:
username:
from_secret: DOCKER_USERNAME
password:
from_secret: DOCKER_PASSWORD
repo: mrvercetti/blackmesa-coop-server
tags: ${DRONE_COMMIT_SHA:0:8}, latest