mirror of
https://github.com/mr-vercetti/mr.vercetti.cc.git
synced 2025-01-18 16:55:34 +01:00
26 lines
481 B
YAML
26 lines
481 B
YAML
|
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
|
||
|
settings:
|
||
|
username:
|
||
|
from_secret: DOCKER_USERNAME
|
||
|
password:
|
||
|
from_secret: DOCKER_PASSWORD
|
||
|
repo: mrvercetti/mrvercetticc
|
||
|
tags: ${DRONE_COMMIT_SHA:0:8}, latest
|