2023-06-16 12:46:08 +02:00
|
|
|
steps:
|
2023-04-25 21:44:47 +02:00
|
|
|
docker-deploy-push:
|
2023-05-05 09:25:24 +02:00
|
|
|
when:
|
2023-06-16 12:46:08 +02:00
|
|
|
- event: push
|
|
|
|
branch: main
|
2023-04-25 21:44:47 +02:00
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
|
|
settings:
|
|
|
|
dockerfile: Dockerfile
|
2023-06-16 12:46:08 +02:00
|
|
|
platforms: linux/arm/v7,linux/arm64/v8,linux/amd64
|
2023-04-25 21:44:47 +02:00
|
|
|
repo: codeberg.org/lauralani/go-urlsh
|
|
|
|
registry: codeberg.org
|
|
|
|
tags: latest
|
|
|
|
username: lauralani
|
2023-05-05 09:25:24 +02:00
|
|
|
password:
|
|
|
|
from_secret: codeberg_token
|
|
|
|
|
|
|
|
docker-deploy-tag:
|
|
|
|
when:
|
|
|
|
event:
|
|
|
|
- tag
|
|
|
|
image: woodpeckerci/plugin-docker-buildx
|
|
|
|
settings:
|
|
|
|
dockerfile: Dockerfile
|
2023-06-16 12:46:08 +02:00
|
|
|
platforms: linux/arm/v7,linux/arm64/v8,linux/amd64
|
2023-05-05 09:25:24 +02:00
|
|
|
repo: codeberg.org/lauralani/go-urlsh
|
|
|
|
registry: codeberg.org
|
|
|
|
auto_tag: true
|
|
|
|
username: lauralani
|
2023-04-25 21:44:47 +02:00
|
|
|
password:
|
|
|
|
from_secret: codeberg_token
|