ci: fix double CI definition
All checks were successful
ci/woodpecker/push/docker-deploy Pipeline was successful

This commit is contained in:
Adora Laura Kalb 2024-11-05 12:03:32 +01:00
parent ae600c44b6
commit dec99bdced
Signed by: adoralaura
SSH key fingerprint: SHA256:3XrkbR8ikAZJVtYfaUliX1MhmJYVAe/ocIb/MiDHBJ8

View file

@ -5,23 +5,23 @@ steps:
- 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-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: