when: - event: [push, manual, deployment] steps: - name: build image: woodpeckerci/plugin-docker-buildx:6.1.1 settings: registry: registry.apps.millslan.net repo: registry.apps.millslan.net/garrettmills/${CI_PIPELINE_DEPLOY_TARGET} tags: latest platforms: linux/amd64 context: ${CI_PIPELINE_DEPLOY_TARGET} dockerfile: ${CI_PIPELINE_DEPLOY_TARGET}/Dockerfile username: from_secret: registry_username password: from_secret: registry_password when: - event: deployment