when: event: push variables: - &buildx-plugin "woodpeckerci/plugin-docker-buildx:6.0.2" - &repo "registry.mareshq.com/library/container-tools" - &platforms "linux/arm64/v8,linux/amd64" - &image_tag "${CI_COMMIT_REF/ref\/heads\//}-${CI_COMMIT_SHA:0:8}" steps: build: image: *buildx-plugin settings: repo: *repo platforms: *platforms tag: *image_tag logins: - registry: https://registry.mareshq.com username: from_secret: registry_username password: from_secret: registry_password when: event: push