15 Commits

Author SHA1 Message Date
6e8a6e70f7 fix(ci): define container-runtime
Some checks failed
build-x86_64
build / build-x86_64 (push) Failing after 14s
2023-05-21 13:07:15 +02:00
bcf0eed0a9 Merge pull request 'chore(deps): update dependency quay.io/skopeo/stable to v1.12.0' (#18) from renovate/quay.io-skopeo-stable-1.x into master
Some checks failed
build-x86_64
Reviewed-on: #18
2023-05-21 10:47:09 +00:00
ab620531ed chore(deps): update dependency quay.io/skopeo/stable to v1.12.0
Some checks failed
build-x86_64
2023-05-18 13:58:38 +02:00
fc500c5605 fix(ci): migrate to gitea actions
Some checks failed
build-x86_64
2023-04-13 22:52:33 +02:00
ceebed25a0 fix(ci): migrate to gitea actions
Some checks failed
build-x86_64
2023-04-13 22:47:38 +02:00
55a7affa1a fix(ci): migrate to gitea actions
Some checks failed
build-x86_64
2023-04-13 22:46:57 +02:00
50ca134431 fix(ci): migrate to gitea actions
Some checks failed
build-x86_64
2023-04-13 22:46:18 +02:00
1824582a49 fix(ci): migrate to gitea actions
Some checks failed
build-x86_64
2023-04-13 22:45:21 +02:00
5b98632bbf fix(ci): migrate to gitea actions
Some checks failed
build-x86_64
2023-04-13 22:40:02 +02:00
5a8f64a0ff fix(ci): migrate to gitea actions
Some checks failed
build-x86_64
2023-04-13 22:39:27 +02:00
1fa4eadfc4 fix(ci): migrate to gitea actions
Some checks failed
build-x86_64
2023-04-13 22:39:03 +02:00
67f6b13bae fix(ci): migrate to gitea actions
Some checks failed
build-x86_64
2023-04-13 22:29:23 +02:00
441402ae5c fix(ci): migrate to gitea actions
Some checks failed
build-x86_64
2023-04-13 22:28:39 +02:00
5c87f90b5d fix(ci): migrate to gitea actions
Some checks failed
build-x86_64
2023-04-13 22:20:21 +02:00
4b46541ba2 fix(ci): migrate to gitea actions 2023-04-13 22:19:39 +02:00
3 changed files with 100 additions and 95 deletions

View File

@ -11,12 +11,12 @@ platform:
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.2.1
image: docker.io/drone/git:1.2.1
- name: markdown lint
commands:
- markdownlint *.md
image: git.cryptic.systems/volker.raschek/markdownlint:0.34.0
image: git.cryptic.systems/volker.raschek/markdownlint:0.33.0
resources:
limits:
cpu: 150
@ -34,7 +34,7 @@ steps:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
image: docker.io/volkerraschek/drone-email:0.1.1
resources:
limits:
cpu: 150
@ -57,28 +57,22 @@ name: dry-run-amd64
clone:
disable: true
depends_on:
- linter
platform:
os: linux
arch: amd64
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.2.1
image: docker.io/drone/git:1.2.1
- name: build
image: docker.io/plugins/docker:20.10.9
settings:
auto_tag: false
dockerfile: Dockerfile
dry_run: true
force_tag: true
no_cache: true
purge: true
mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/markdownlint
tags: latest-amd64
@ -99,12 +93,15 @@ steps:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
image: docker.io/volkerraschek/drone-email:0.1.1
when:
status:
- changed
- failure
depends_on:
- linter
trigger:
branch:
exclude:
@ -123,28 +120,22 @@ name: dry-run-arm-v7
clone:
disable: true
depends_on:
- linter
platform:
os: linux
arch: arm
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.2.1
image: docker.io/drone/git:1.2.1
- name: build
image: docker.io/plugins/docker:20.10.9
settings:
auto_tag: false
dockerfile: Dockerfile
dry_run: true
force_tag: true
no_cache: true
purge: true
mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/markdownlint
tags: latest-arm-v7
@ -165,12 +156,15 @@ steps:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
image: docker.io/volkerraschek/drone-email:0.1.1
when:
status:
- changed
- failure
depends_on:
- linter
trigger:
branch:
exclude:
@ -189,31 +183,25 @@ name: dry-run-arm64-v8
clone:
disable: true
depends_on:
- linter
platform:
os: linux
arch: arm64
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.2.1
image: docker.io/drone/git:1.2.1
- name: build
image: docker.io/plugins/docker:20.10.9
settings:
auto_tag: false
dockerfile: Dockerfile
dry_run: true
force_tag: true
no_cache: true
purge: true
mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/markdownlint
tags: latest-arm64-v8
repo: git.cryptic.systems/volker.raschek/markdownlint
username:
from_secret: git_cryptic_systems_container_registry_user
password:
@ -231,12 +219,15 @@ steps:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
image: docker.io/volkerraschek/drone-email:0.1.1
when:
status:
- changed
- failure
depends_on:
- linter
trigger:
branch:
exclude:
@ -255,27 +246,21 @@ name: latest-amd64
clone:
disable: true
depends_on:
- linter
platform:
os: linux
arch: amd64
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.2.1
image: docker.io/drone/git:1.2.1
- name: build
image: docker.io/plugins/docker:20.10.9
settings:
auto_tag: false
dockerfile: Dockerfile
force_tag: true
no_cache: true
purge: true
mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/markdownlint
tags: latest-amd64
@ -296,12 +281,15 @@ steps:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
image: docker.io/volkerraschek/drone-email:0.1.1
when:
status:
- changed
- failure
depends_on:
- linter
trigger:
branch:
- master
@ -319,27 +307,21 @@ name: latest-arm-v7
clone:
disable: true
depends_on:
- linter
platform:
os: linux
arch: arm
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.2.1
image: docker.io/drone/git:1.2.1
- name: build
image: docker.io/plugins/docker:20.10.9
settings:
auto_tag: false
dockerfile: Dockerfile
force_tag: true
no_cache: true
purge: true
mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/markdownlint
tags: latest-arm-v7
@ -360,12 +342,15 @@ steps:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
image: docker.io/volkerraschek/drone-email:0.1.1
when:
status:
- changed
- failure
depends_on:
- linter
trigger:
branch:
- master
@ -383,30 +368,24 @@ name: latest-arm64-v8
clone:
disable: true
depends_on:
- linter
platform:
os: linux
arch: arm64
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.2.1
image: docker.io/drone/git:1.2.1
- name: build
image: docker.io/plugins/docker:20.10.9
settings:
auto_tag: false
dockerfile: Dockerfile
force_tag: true
no_cache: true
purge: true
mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/markdownlint
tags: latest-arm64-v8
repo: git.cryptic.systems/volker.raschek/markdownlint
username:
from_secret: git_cryptic_systems_container_registry_user
password:
@ -424,12 +403,15 @@ steps:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
image: docker.io/volkerraschek/drone-email:0.1.1
when:
status:
- changed
- failure
depends_on:
- linter
trigger:
branch:
- master
@ -447,14 +429,9 @@ name: latest-manifest
clone:
disable: true
depends_on:
- latest-amd64
- latest-arm-v7
- latest-arm64-v8
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.2.1
image: docker.io/drone/git:1.2.1
- name: build-manifest
image: docker.io/plugins/manifest:latest
@ -479,7 +456,7 @@ steps:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
image: docker.io/volkerraschek/drone-email:0.1.1
resources:
limits:
cpu: 150
@ -489,6 +466,11 @@ steps:
- changed
- failure
depends_on:
- latest-amd64
- latest-arm-v7
- latest-arm64-v8
trigger:
branch:
- master
@ -511,9 +493,9 @@ depends_on:
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.2.1
image: docker.io/drone/git:1.2.1
- name: latest-sync
- name: latest-docker-sync
commands:
- skopeo sync --all --src=docker --src-creds=$SRC_CRED_USERNAME:$SRC_CRED_PASSWORD --dest=docker --dest-creds=$DEST_CRED_USERNAME:$DEST_CRED_PASSWORD git.cryptic.systems/volker.raschek/markdownlint docker.io/volkerraschek
environment:
@ -525,7 +507,7 @@ steps:
from_secret: container_image_registry_user
DEST_CRED_PASSWORD:
from_secret: container_image_registry_password
image: quay.io/skopeo/stable:v1.11.2
image: quay.io/skopeo/stable:v1.12.0
- name: email-notification
environment:
@ -539,7 +521,7 @@ steps:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
image: docker.io/volkerraschek/drone-email:0.1.1
resources:
limits:
cpu: 150
@ -572,19 +554,16 @@ platform:
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.2.1
image: docker.io/drone/git:1.2.1
- name: build
image: docker.io/plugins/docker:20.10.9
settings:
auto_tag: true
auto_tag_suffix: amd64
dockerfile: Dockerfile
force_tag: true
no_cache: true
purge: true
mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/markdownlint
username:
@ -606,7 +585,7 @@ steps:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
image: docker.io/volkerraschek/drone-email:0.1.1
when:
status:
- changed
@ -632,19 +611,16 @@ platform:
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.2.1
image: docker.io/drone/git:1.2.1
- name: build
image: docker.io/plugins/docker:20.10.9
settings:
auto_tag: true
auto_tag_suffix: arm-v7
dockerfile: Dockerfile
force_tag: true
no_cache: true
purge: true
mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/markdownlint
username:
@ -666,7 +642,7 @@ steps:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
image: docker.io/volkerraschek/drone-email:0.1.1
when:
status:
- changed
@ -692,19 +668,16 @@ platform:
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.2.1
image: docker.io/drone/git:1.2.1
- name: build
image: docker.io/plugins/docker:20.10.9
settings:
auto_tag: true
auto_tag_suffix: arm64-v8
dockerfile: Dockerfile
force_tag: true
no_cache: true
purge: true
mirror:
from_secret: docker_io_mirror
registry: git.cryptic.systems
repo: git.cryptic.systems/volker.raschek/markdownlint
username:
@ -726,7 +699,7 @@ steps:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
image: docker.io/volkerraschek/drone-email:0.1.1
when:
status:
- changed
@ -746,14 +719,9 @@ name: tagged-manifest
clone:
disable: true
depends_on:
- tagged-amd64
- tagged-arm-v7
- tagged-arm64-v8
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.2.1
image: docker.io/drone/git:1.2.1
- name: build-manifest
image: docker.io/plugins/manifest:latest
@ -778,7 +746,7 @@ steps:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
image: docker.io/volkerraschek/drone-email:0.1.1
resources:
limits:
cpu: 150
@ -788,6 +756,11 @@ steps:
- changed
- failure
depends_on:
- tagged-amd64
- tagged-arm-v7
- tagged-arm64-v8
trigger:
event:
- tag
@ -802,14 +775,11 @@ name: tagged-sync
clone:
disable: true
depends_on:
- tagged-manifest
steps:
- name: clone
image: git.cryptic.systems/volker.raschek/git:1.2.1
image: docker.io/drone/git:1.2.1
- name: tagged-sync
- name: tagged-docker-sync
commands:
- skopeo sync --all --src=docker --src-creds=$SRC_CRED_USERNAME:$SRC_CRED_PASSWORD --dest=docker --dest-creds=$DEST_CRED_USERNAME:$DEST_CRED_PASSWORD git.cryptic.systems/volker.raschek/markdownlint docker.io/volkerraschek
environment:
@ -821,7 +791,7 @@ steps:
from_secret: container_image_registry_user
DEST_CRED_PASSWORD:
from_secret: container_image_registry_password
image: quay.io/skopeo/stable:v1.11.2
image: quay.io/skopeo/stable:v1.12.0
- name: email-notification
environment:
@ -835,7 +805,7 @@ steps:
from_secret: smtp_username
SMTP_PASSWORD:
from_secret: smtp_password
image: git.cryptic.systems/volker.raschek/drone-email:0.1.2
image: docker.io/volkerraschek/drone-email:0.1.1
resources:
limits:
cpu: 150
@ -845,8 +815,11 @@ steps:
- changed
- failure
depends_on:
- tagged-manifest
trigger:
event:
- tag
repo:
- volker.raschek/markdownlint-docker
- volker.raschek/markdownlint-docker

View File

@ -0,0 +1,32 @@
name: build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build-x86_64:
runs-on: x86_64
steps:
- name: checkout repo
uses: actions/checkout@v3
# - name: Install docker
# run: |
# apt-get update
# apt-get upgrade --yes
# apt-get install --yes ca-certificates curl gnupg
# install -m 0755 -d /etc/apt/keyrings
# curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg
# chmod a+r /etc/apt/keyrings/docker.gpg
# echo "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu "$(. /etc/os-release && echo "$VERSION_CODENAME")" stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
# apt-get update --yes
# apt-get install --yes docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
- name: build application
env:
CONTAINER_RUNTIME: podman
shell: bash
run: make container-image/build

View File

@ -1,6 +1,6 @@
# MARKDOWNLINT_VERSION
# Only required to install a specifiy version
MARKDOWNLINT_VERSION?=v0.35.0 # renovate: datasource=github-releases depName=igorshubovych/markdownlint-cli
MARKDOWNLINT_VERSION?=v0.33.0 # renovate: datasource=github-releases depName=igorshubovych/markdownlint-cli
# CONTAINER_RUNTIME
# The CONTAINER_RUNTIME variable will be used to specified the path to a