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
|
2024-05-04 17:06:01 +02:00
|
|
|
repo: code.lila.network/adoralaura/go-urlsh
|
2023-04-25 21:44:47 +02:00
|
|
|
registry: codeberg.org
|
2024-05-04 17:06:01 +02:00
|
|
|
tags: develop
|
2023-04-25 21:44:47 +02:00
|
|
|
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
|
2024-05-04 17:06:01 +02:00
|
|
|
repo: code.lila.network/adoralaura/go-urlsh
|
2023-05-05 09:25:24 +02:00
|
|
|
registry: codeberg.org
|
|
|
|
auto_tag: true
|
|
|
|
username: lauralani
|
2023-04-25 21:44:47 +02:00
|
|
|
password:
|
2024-05-04 17:06:01 +02:00
|
|
|
from_secret: codeberg_token
|