2022-08-31 22:29:49 +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
|
|
|
|
- ${DRONE_COMMIT_SHA:0:8}
|
2022-12-16 16:45:10 +01:00
|
|
|
- hugo-v0.107.0
|
2022-08-31 22:29:49 +02:00
|
|
|
repo: immawanderer/${DRONE_REPO_NAME}
|
|
|
|
username: immawanderer
|
|
|
|
password:
|
|
|
|
from_secret: dh_token
|
|
|
|
when:
|
|
|
|
ref:
|
|
|
|
- refs/heads/development
|
|
|
|
event:
|
|
|
|
exclude: [pull_request, tag]
|
|
|
|
|
|
|
|
trigger:
|
|
|
|
event: [push, pull_request, cron, tag]
|
2022-09-01 01:44:59 +02:00
|
|
|
|
|
|
|
---
|
|
|
|
kind: signature
|
2022-12-16 16:45:10 +01:00
|
|
|
hmac: c309a839a3fb5be312fd3057f95408b817d23cd05a7ff4e2f3267427d6d0d10a
|
2022-09-01 01:44:59 +02:00
|
|
|
|
2022-08-31 22:29:49 +02:00
|
|
|
...
|