mirror of
https://codeberg.org/scip/io-exporter.git
synced 2025-12-19 05:21:01 +01:00
mv to codeberg
This commit is contained in:
35
.woodpecker/image.yaml
Normal file
35
.woodpecker/image.yaml
Normal file
@@ -0,0 +1,35 @@
|
||||
when:
|
||||
#branch: main
|
||||
event: [push]
|
||||
|
||||
variables:
|
||||
- &file Dockerfile.hello
|
||||
- &repo codeberg.org/${CI_REPO_OWNER}/hello
|
||||
|
||||
steps:
|
||||
dryrun:
|
||||
image: docker.io/woodpeckerci/plugin-docker-buildx:latest
|
||||
settings:
|
||||
dockerfile: *file
|
||||
platforms: linux/amd64
|
||||
dry_run: true
|
||||
repo: *repo
|
||||
tags: latest
|
||||
when:
|
||||
event: pull_request
|
||||
path: *file
|
||||
|
||||
publish:
|
||||
image: docker.io/woodpeckerci/plugin-docker-buildx:latest
|
||||
settings:
|
||||
dockerfile: *file
|
||||
platforms: linux/amd64
|
||||
repo: *repo
|
||||
registry: codeberg.org
|
||||
tags: latest,1-${CI_COMMIT_SHA:0:8},${CI_COMMIT_TAG}
|
||||
username: ${CI_REPO_OWNER}
|
||||
password:
|
||||
from_secret: deploy_token
|
||||
when:
|
||||
event: push
|
||||
path: *file
|
||||
Reference in New Issue
Block a user