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 ']'
25 lines
580 B
YAML
25 lines
580 B
YAML
when:
|
|
- event: push
|
|
branch: ${CI_REPO_DEFAULT_BRANCH}
|
|
path: [ "*.ex", "*.eex", "*.exs", "mix.lock", ".woodpecker/**" ]
|
|
|
|
depends_on:
|
|
- docker-develop
|
|
|
|
skip_clone: true
|
|
|
|
steps:
|
|
docker-develop-combine:
|
|
image: git.fluffytail.org/phnt/wpc-docker-tagger:latest
|
|
settings:
|
|
registry: "git.fluffytail.org"
|
|
image: "pleroma-test/pleroma"
|
|
architectures: [amd64, arm64]
|
|
tags:
|
|
- latest
|
|
- develop
|
|
- ${CI_COMMIT_SHA}
|
|
username:
|
|
from_secret: pleroma-ci-user
|
|
password:
|
|
from_secret: pleroma-ci-password
|