2022-04-20 22:37:28 +02:00
|
|
|
---
|
|
|
|
kind: pipeline
|
|
|
|
type: docker
|
|
|
|
name: testing
|
|
|
|
|
|
|
|
platform:
|
|
|
|
os: linux
|
|
|
|
arch: amd64
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: hadolint
|
|
|
|
pull: always
|
|
|
|
image: ghcr.io/hadolint/hadolint:v2.10.0-alpine
|
|
|
|
commands:
|
|
|
|
- hadolint --version
|
|
|
|
- hadolint Containerfile
|
|
|
|
when:
|
|
|
|
ref:
|
|
|
|
- refs/heads/development
|
|
|
|
- refs/heads/feature-**
|
|
|
|
- refs/pull/**
|
|
|
|
- refs/tags/**
|
|
|
|
event:
|
|
|
|
exclude: [cron]
|
|
|
|
|
|
|
|
- name: kaniko-build
|
|
|
|
pull: always
|
|
|
|
image: docker.io/immawanderer/drone-kaniko:linux-amd64
|
|
|
|
settings:
|
|
|
|
dockerfile: Containerfile
|
|
|
|
context: .
|
|
|
|
args:
|
|
|
|
- BUILD_DATE="$(date -u +"%Y-%m-%dT%H:%M:%SZ")"
|
|
|
|
- VCS_REF=${DRONE_COMMIT_SHA:0:7}
|
|
|
|
when:
|
|
|
|
ref:
|
|
|
|
- refs/heads/feature-**
|
|
|
|
- refs/pull/**
|
|
|
|
- refs/tags/**
|
|
|
|
event:
|
|
|
|
exclude: [cron]
|
|
|
|
|
|
|
|
- name: kaniko-publish
|
|
|
|
pull: always
|
|
|
|
image: docker.io/immawanderer/drone-kaniko:linux-amd64
|
|
|
|
settings:
|
|
|
|
dockerfile: Containerfile
|
|
|
|
context: .
|
|
|
|
args:
|
|
|
|
- BUILD_DATE="$(date -u +"%Y-%m-%dT%H:%M:%SZ")"
|
|
|
|
- VCS_REF=${DRONE_COMMIT_SHA:0:7}
|
|
|
|
tags:
|
|
|
|
- latest
|
|
|
|
- linux-amd64
|
2022-09-08 14:46:04 +02:00
|
|
|
- 36
|
|
|
|
- f36
|
2022-04-20 22:37:28 +02:00
|
|
|
- ${DRONE_COMMIT_SHA:0:8}
|
|
|
|
repo: immawanderer/fedora-minimal
|
|
|
|
username:
|
|
|
|
from_secret: dh_username
|
|
|
|
password:
|
|
|
|
from_secret: dh_token
|
|
|
|
when:
|
|
|
|
ref:
|
|
|
|
- refs/heads/development
|
|
|
|
event:
|
|
|
|
exclude: [pull_request, tag]
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
event: [push, pull_request, cron, tag]
|
2022-09-08 14:40:12 +02:00
|
|
|
|
|
|
|
---
|
|
|
|
kind: signature
|
2022-09-08 14:46:04 +02:00
|
|
|
hmac: 0b9bf31f25ea2c0341a81481bfbdb10c092085970001fbe8433f195abe3d6b2b
|
2022-09-08 14:40:12 +02:00
|
|
|
|
|
|
|
...
|