p
This commit is contained in:
parent
7b3089ada1
commit
8b334f1e6d
1 changed files with 39 additions and 12 deletions
|
@ -6,19 +6,46 @@ depends_on:
|
|||
- test
|
||||
|
||||
steps:
|
||||
build_container:
|
||||
image: code.philo.ydns.eu/philorg/podman
|
||||
environment:
|
||||
REGISTRY_URL: https://code.philo.ydns.eu
|
||||
OWNER: philorg
|
||||
CONTAINERFILE: Containerfile
|
||||
commands:
|
||||
- podman build -t code.philo.ydns.eu/philorg/test-woodpecker -f $CONTAINERFILE
|
||||
steps:
|
||||
publish:
|
||||
image: docker.io/taywee/woodpecker-buildah:latest
|
||||
settings:
|
||||
tag: code.philo.ydns.eu/test-woodpecker
|
||||
registry: code.philo.ydns.eu
|
||||
username:
|
||||
from_secret: registry_username
|
||||
password:
|
||||
from_secret: registry_password
|
||||
env-files:
|
||||
DOCKER_HUB_AUTH: /home/build/.config/containers/auth.json
|
||||
|
||||
publish_container:
|
||||
image: code.philo.ydns.eu/philorg/podman
|
||||
commands:
|
||||
- echo $REGISTRY_LOGIN_TOKEN | podman login -u <username> --password-stdin registry.gitlab.com
|
||||
settings:
|
||||
registry: code.philo.ydns.eu
|
||||
repo: code.philo.ydns.eu/test-woodpecker
|
||||
tags: ${CI_COMMIT_SHA}
|
||||
cache: true
|
||||
skip_tls_verify: false # set to true for testing registries ONLY with self-signed certs
|
||||
build_args:
|
||||
- COMMIT_SHA=${CI_COMMIT_SHA}
|
||||
- COMMIT_AUTHOR_EMAIL=${CI_COMMIT_AUTHOR_EMAIL}
|
||||
username:
|
||||
from_secret: docker-username
|
||||
password:
|
||||
from_secret: docker-password
|
||||
# build_container:
|
||||
# image: code.philo.ydns.eu/philorg/podman
|
||||
# environment:
|
||||
# REGISTRY_URL: https://code.philo.ydns.eu
|
||||
# OWNER: philorg
|
||||
# CONTAINERFILE: Containerfile
|
||||
# commands:
|
||||
# - podman build -t code.philo.ydns.eu/philorg/test-woodpecker -f $CONTAINERFILE
|
||||
#
|
||||
#
|
||||
# publish_container:
|
||||
# image: code.philo.ydns.eu/philorg/podman
|
||||
# commands:
|
||||
# - echo $REGISTRY_LOGIN_TOKEN | podman login -u <username> --password-stdin registry.gitlab.com
|
||||
|
||||
sync:
|
||||
image: ghcr.io/astral-sh/uv:python3.13-alpine
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue