22 lines
482 B
YAML
22 lines
482 B
YAML
|
|
when:
|
||
|
|
branch: main
|
||
|
|
event: push
|
||
|
|
|
||
|
|
steps:
|
||
|
|
build-and-push:
|
||
|
|
image: woodpeckerci/plugin-docker-buildx
|
||
|
|
settings:
|
||
|
|
registry: codeberg.org
|
||
|
|
repo: codeberg.org/lvl0/trip-planner
|
||
|
|
dockerfile: docker/production/Dockerfile
|
||
|
|
context: .
|
||
|
|
tags:
|
||
|
|
- latest
|
||
|
|
- ${CI_COMMIT_SHA:0:8}
|
||
|
|
username:
|
||
|
|
from_secret: docker_username
|
||
|
|
password:
|
||
|
|
from_secret: docker_password
|
||
|
|
platforms:
|
||
|
|
- linux/amd64
|
||
|
|
- linux/arm64
|