Fix: Create and host docker images for the CI (#34) #40

Merged
Aire-One merged 3 commits from fix/ci-docker-build into master 2022-12-09 18:33:07 +01:00
1 changed files with 2 additions and 4 deletions

View File

@ -1,6 +1,5 @@
variables:
- &buildx woodpeckerci/plugin-docker-buildx:2.0.0
- &repo gitea.aireone.xyz/${CI_REPO,,}
- &platforms linux/amd64
matrix:
@ -16,7 +15,6 @@ pipeline:
dockerfile: ${DOCKERFILE}
platforms: *platforms
dry_run: true
repo: *repo
when:
event: pull_request
path: ${DOCKERFILE}
@ -27,8 +25,8 @@ pipeline:
dockerfile: ${DOCKERFILE}
platforms: *platforms
registry: gitea.aireone.xyz
repo: *repo
auto_tag: true
repo: gitea.aireone.xyz/${CI_REPO,,}/${DOCKERFILE}
tag: latest
username:
from_secret: publish_username
password: