humble-bot/.woodpecker/docker-deploy.yaml
Adora Laura Kalb ae600c44b6
Some checks failed
ci/woodpecker/push/docker-deploy Pipeline failed
try again
2024-11-05 12:02:29 +01:00

55 lines
1.4 KiB
YAML

steps:
- name: go-lint
image: golangci/golangci-lint
commands:
- golangci-lint run
when:
event: ["push", "pull_request", "manual"]
- name: docker-deploy-push
depends_on:
- go-lint
when:
- event: push
branch: main
image: woodpeckerci/plugin-docker-buildx
settings:
dockerfile: Dockerfile
platforms: linux/arm/v7,linux/arm64/v8,linux/amd64
repo: adoralaura/humble-bot
registry: https://index.docker.io/v1/
tags: latest
username: adoralaura
password:
from_secret: dockerhub_token
- name: docker-deploy-tag
when:
- event: tag
image: woodpeckerci/plugin-docker-buildx
settings:
dockerfile: Dockerfile
platforms: linux/arm/v7,linux/arm64/v8,linux/amd64
repo: adoralaura/humble-bot
registry: https://index.docker.io/v1/
auto_tag: true
username: adoralaura
password:
from_secret: dockerhub_token
- name: docker-deploy-unstable
depends_on:
- go-lint
when:
- event: push
branch: main
image: woodpeckerci/plugin-docker-buildx
settings:
dockerfile: Dockerfile
platforms: linux/arm64/v8,linux/amd64
repo: adoralaura/humble-bot
registry: https://index.docker.io/v1/
tags: unstable
username: adoralaura
password:
from_secret: dockerhub_token