This commit is contained in:
parent
fc10f0f68a
commit
211b2bed0f
25
.drone.yml
25
.drone.yml
@ -41,3 +41,28 @@ steps:
|
||||
event:
|
||||
exclude: [cron]
|
||||
|
||||
- name: kaniko-publish
|
||||
pull: always
|
||||
image: immawanderer/drone-kaniko:linux-amd64
|
||||
settings:
|
||||
dockerfile: Dockerfile
|
||||
context: .
|
||||
args:
|
||||
- BUILD_DATE="$(date -u +"%Y-%m-%dT%H:%M:%SZ")"
|
||||
- VCS_REF=${DRONE_COMMIT_SHA:0:7}
|
||||
tags:
|
||||
- latest
|
||||
- linux-amd64
|
||||
- ${DRONE_COMMIT_SHA:0:8}
|
||||
repo: immawanderer/fedora-distcc
|
||||
username:
|
||||
from_secret: docker_username
|
||||
password:
|
||||
from_secret: docker_password
|
||||
when:
|
||||
ref:
|
||||
- refs/heads/development
|
||||
event:
|
||||
exclude: [pull_request, tag]
|
||||
trigger:
|
||||
event: [push, pull_request, cron, tag]
|
||||
|
Loading…
Reference in New Issue
Block a user