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