go-urlsh/.woodpecker/deploy-docker.yml

30 lines
No EOL
770 B
YAML

steps:
docker-deploy-push:
when:
- event: push
branch: main
image: woodpeckerci/plugin-docker-buildx
settings:
dockerfile: Dockerfile
platforms: linux/arm/v7,linux/arm64/v8,linux/amd64
repo: codeberg.org/lauralani/go-urlsh
registry: codeberg.org
tags: latest
username: lauralani
password:
from_secret: codeberg_token
docker-deploy-tag:
when:
event:
- tag
image: woodpeckerci/plugin-docker-buildx
settings:
dockerfile: Dockerfile
platforms: linux/arm/v7,linux/arm64/v8,linux/amd64
repo: codeberg.org/lauralani/go-urlsh
registry: codeberg.org
auto_tag: true
username: lauralani
password:
from_secret: codeberg_token