Update CI files.

This commit is contained in:
2025-12-17 22:18:05 -06:00
parent 1630206ae2
commit 0c70b94f31
2 changed files with 20 additions and 21 deletions

View File

@@ -0,0 +1,19 @@
build-and-push-to-registry:
image: woodpeckerci/plugin-docker-buildx:5.1
settings:
username:
from_secret: REGISTRY_USERNAME
password:
from_secret: REGISTRY_PASSWORD
registry: registry.binderlab.io
repo: registry.binderlab.io/harbormaster-client
tags: latest
dockerfile: docker/Dockerfile
context: .
push: true
when:
event: push
branch:
- main
not:
event: manual

View File

@@ -1,25 +1,5 @@
steps: steps:
build-and-push: publish-webapp:
image: woodpeckerci/plugin-docker-buildx:5.1
settings:
username:
from_secret: REGISTRY_USERNAME
password:
from_secret: REGISTRY_PASSWORD
registry: registry.binderlab.io
repo: registry.binderlab.io/harbormaster-client
tags: latest
dockerfile: docker/Dockerfile
context: .
push: true
when:
event: push
branch:
- main
not:
event: manual
pull-container:
image: docker:cli image: docker:cli
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock