variables: - &buildx woodpeckerci/plugin-docker-buildx:2.0.0 - &repo gitea.aireone.xyz/${CI_REPO,,} - &platforms linux/amd64 matrix: DOCKERFILE: - .woodpecker/docker/Dockerfile.cyan - .woodpecker/docker/Dockerfile.luacheck_just - .woodpecker/docker/Dockerfile.stylua_just pipeline: dryrun: image: *buildx settings: dockerfile: ${DOCKERFILE} platforms: *platforms dry_run: true repo: *repo when: event: pull_request path: ${DOCKERFILE} publish: image: *buildx settings: dockerfile: ${DOCKERFILE} platforms: *platforms registry: gitea.aireone.xyz repo: *repo auto_tag: true username: from_secret: publish_username password: from_secret: publish_token when: event: push path: ${DOCKERFILE} branches: master