when: - event: manual - event: tag 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: - 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 --password-stdin registry.gitlab.com sync: image: ghcr.io/astral-sh/uv:python3.13-alpine volumes: - uv-cache:/uv-cache environment: UV_CACHE_DIR: /uv-cache UV_LINK_MODE: copy commands: - uv sync build: image: ghcr.io/astral-sh/uv:python3.13-alpine volumes: - uv-cache:/uv-cache environment: UV_CACHE_DIR: /uv-cache UV_LINK_MODE: copy commands: - uv build --wheel - uv cache prune --ci push_python: image: ghcr.io/astral-sh/uv:python3.13-alpine environment: OWNER: philorg REGISTRY_URL: https://code.philo.ydns.eu REGISTRY_TOKEN: from_secret: registry_token commands: - uv publish --publish-url $REGISTRY_URL/api/packages/$OWNER/pypi --token $REGISTRY_TOKEN dist/*.whl failure: ignore # TODO: container # For podman build: see https://woodpecker-ci.org/blog/podman-image-build-sigstore # podman-privileged-test: # image: quay.io/podman/stable # commands: # - echo From https://docs.gitlab.com/runner/executors/kubernetes/use_podman_with_kubernetes/ # - podman build . -t playground-bis:testing