when: path: "*Dockerfile*" steps: build-main: when: branch: main image: woodpeckerci/plugin-docker-buildx:3.2.1@sha256:a4a4e4cfd6ca3a8234d7bc87e771fea0ced1326d174e2620f670331358cbcddb pull: true settings: platforms: linux/amd64 registry: ${CI_FORGE_URL} username: WoodpeckerCI password: from_secret: gitea_token repo: git.verdigado.com/${CI_REPO,,} tag: "latest" build-branch: when: branch: exclude: ["main"] image: woodpeckerci/plugin-docker-buildx:3.2.1@sha256:a4a4e4cfd6ca3a8234d7bc87e771fea0ced1326d174e2620f670331358cbcddb pull: true settings: platforms: linux/amd64 registry: ${CI_FORGE_URL} username: WoodpeckerCI password: from_secret: gitea_token repo: git.verdigado.com/${CI_REPO,,} tag: ${CI_COMMIT_BRANCH}