when: branch: main variables: - &file Dockerfile - &repo codeberg.org/${CI_REPO_OWNER}/safetwitch-backend steps: dryrun: image: woodpeckerci/plugin-docker-buildx settings: dockerfile: *file platforms: linux/arm/v7,linux/arm64/v8,linux/amd64,linux/ppc64le dry_run: true repo: *repo tags: latest when: event: pull_request publish: image: woodpeckerci/plugin-docker-buildx settings: dockerfile: *file platforms: linux/arm/v7,linux/arm64/v8,linux/amd64,linux/ppc64le repo: *repo registry: codeberg.org tags: latest username: ${CI_REPO_OWNER} password: from_secret: docker_password when: event: push