Don't build image in CI, add script for local build
ci/woodpecker/push/gradle Pipeline was successful Details
ci/woodpecker/push/pages Pipeline was successful Details

This commit is contained in:
Johannes Frohnmeyer 2023-05-05 13:24:28 +02:00
parent 879a6941d7
commit dd5b0fa04d
Signed by: Johannes
GPG Key ID: E76429612C2929F4
2 changed files with 3 additions and 13 deletions

View File

@ -1,13 +0,0 @@
pipeline:
docker:
image: woodpeckerci/plugin-docker-buildx
settings:
registry: git.frohnmeyer-wds.de
username: ${CI_REPO_OWNER}
password:
from_secret: gitea_packages_pat
dockerfile: docker/ci-wine.Dockerfile
tag: latest
repo: git.frohnmeyer-wds.de/johannes/ci-wine
when:
- branch: master

3
build_docker.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/bash
dir="$(dirname "$0")"
sudo docker buildx build --push -f "$dir/docker/ci-wine.Dockerfile" -t git.frohnmeyer-wds.de/johannes/ci-wine "$dir"