Adora Laura Kalb
dec99bdced
All checks were successful
ci/woodpecker/push/docker-deploy Pipeline was successful
55 lines
1.4 KiB
YAML
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
|