variables: - &platforms 'linux/arm/v7,linux/arm64/v8,linux/amd64' - &docker_creds username: from_secret: hub_username_cybercinch password: from_secret: docker_password_cybercinch - &pypi_creds username: from_secret: hub_username_cybercinch password: from_secret: docker_password_cybercinch steps: publish-docker-latest: image: docker.io/cybercinch/woodpecker-plugin-depot pull: true settings: <<: *docker_creds token: from_secret: depot_token repohost: hub.cybercinch.nz repo: cybercinch/${CI_REPO_NAME} project: 8b4ht8th6p dockerfile: Dockerfile push: true platforms: *platforms tags: ["latest"] when: branch: ${CI_REPO_DEFAULT_BRANCH} event: - push - manual update-swarm-service-portainer: image: docker.io/plugins/webhook settings: urls: from_secret: deploy_url method: POST # depends_on: publish-docker-latest # settings: # <<: *docker_creds # repohost: hub.cybercinch.nz # repo: cybercinch/imap_retention_manager # dockerfile: Dockerfile # platforms: *platforms # tags: ["latest", "${CI_COMMIT_TAG}"] # when: # event: tag