From 065baa1e7488a32a3da8edf3dddaa8e7eea76823 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Tue, 16 Jan 2024 16:27:00 +0100 Subject: [PATCH] ci: use list style syntax for steps --- .woodpecker/build-container.yml | 4 ++-- .woodpecker/build-package.yml | 4 ++-- .woodpecker/docs.yml | 10 +++++----- .woodpecker/notify.yml | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.woodpecker/build-container.yml b/.woodpecker/build-container.yml index 73942b4..62d823b 100644 --- a/.woodpecker/build-container.yml +++ b/.woodpecker/build-container.yml @@ -6,14 +6,14 @@ when: - ${CI_REPO_DEFAULT_BRANCH} steps: - security-build: + - name: security-build image: quay.io/thegeeklab/wp-docker-buildx:2 settings: containerfile: Containerfile output: type=oci,dest=oci/${CI_REPO_NAME},tar=false repo: thegeeklab/${CI_REPO_NAME} - security-scan: + - name: security-scan image: ghcr.io/aquasecurity/trivy commands: - trivy -v diff --git a/.woodpecker/build-package.yml b/.woodpecker/build-package.yml index 0e06118..44951b2 100644 --- a/.woodpecker/build-package.yml +++ b/.woodpecker/build-package.yml @@ -6,14 +6,14 @@ when: - ${CI_REPO_DEFAULT_BRANCH} steps: - changelog: + - name: changelog image: quay.io/thegeeklab/git-sv commands: - git sv current-version - git sv release-notes -t ${CI_COMMIT_TAG:-next} -o CHANGELOG.md - cat CHANGELOG.md - publish-gitea: + - name: publish-gitea image: quay.io/thegeeklab/wp-gitea-release settings: api_key: diff --git a/.woodpecker/docs.yml b/.woodpecker/docs.yml index 6eb47d0..09a48a1 100644 --- a/.woodpecker/docs.yml +++ b/.woodpecker/docs.yml @@ -6,13 +6,13 @@ when: - ${CI_REPO_DEFAULT_BRANCH} steps: - markdownlint: + - name: markdownlint image: quay.io/thegeeklab/markdownlint-cli group: test commands: - markdownlint 'README.md' - spellcheck: + - name: spellcheck image: quay.io/thegeeklab/alpine-tools group: test commands: @@ -20,13 +20,13 @@ steps: environment: FORCE_COLOR: "true" - link-validation: + - name: link-validation image: docker.io/lycheeverse/lychee group: test commands: - lychee --no-progress --format detailed README.md - pushrm-dockerhub: + - name: pushrm-dockerhub image: docker.io/chko/docker-pushrm:1 secrets: - source: docker_password @@ -43,7 +43,7 @@ steps: - ${CI_REPO_DEFAULT_BRANCH} status: [success] - pushrm-quay: + - name: pushrm-quay image: docker.io/chko/docker-pushrm:1 secrets: - source: quay_token diff --git a/.woodpecker/notify.yml b/.woodpecker/notify.yml index a851904..9957125 100644 --- a/.woodpecker/notify.yml +++ b/.woodpecker/notify.yml @@ -8,7 +8,7 @@ when: runs_on: [success, failure] steps: - matrix: + - name: matrix image: quay.io/thegeeklab/wp-matrix settings: homeserver: