Woodpecker CI Develop: Also tag images using commit sha

With the commit sha being present, `tags` now has to be a list instead
of an array, otherwise Woodpecker raises a yaml compiler warning:

yaml: line 17: did not find expected ',' or ']'
This commit is contained in:
Phantasm 2026-04-12 22:44:40 +02:00
commit f00c13602d
No known key found for this signature in database
GPG key ID: 2669E588BCC634C8
2 changed files with 12 additions and 3 deletions

View file

@ -15,7 +15,10 @@ steps:
registry: "git.fluffytail.org" registry: "git.fluffytail.org"
image: "pleroma-test/pleroma" image: "pleroma-test/pleroma"
architectures: [amd64, arm64] architectures: [amd64, arm64]
tags: [latest, develop] tags:
- latest
- develop
- ${CI_COMMIT_SHA}
username: username:
from_secret: pleroma-ci-user from_secret: pleroma-ci-user
password: password:

View file

@ -33,7 +33,10 @@ steps:
- evaluate: platform == "linux/amd64" - evaluate: platform == "linux/amd64"
settings: settings:
<<: *docker_variables <<: *docker_variables
tags: [latest-amd64, develop-amd64] tags:
- latest-amd64
- develop-amd64
- ${CI_COMMIT_SHA}-amd64
docker-develop-arm64: docker-develop-arm64:
image: woodpeckerci/plugin-kaniko:2.3.1 image: woodpeckerci/plugin-kaniko:2.3.1
@ -41,4 +44,7 @@ steps:
- evaluate: platform == "linux/arm64" - evaluate: platform == "linux/arm64"
settings: settings:
<<: *docker_variables <<: *docker_variables
tags: [latest-arm64, develop-arm64] tags:
- latest-arm64
- develop-arm64
- ${CI_COMMIT_SHA}-arm64