feat: auto publish img from CI
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
e3e85a9bc3
commit
075676fa13
2 changed files with 21 additions and 1 deletions
20
.woodpecker.yml
Normal file
20
.woodpecker.yml
Normal file
|
@ -0,0 +1,20 @@
|
|||
pipeline:
|
||||
build_docker_img:
|
||||
image: plugins/docker
|
||||
when:
|
||||
event: [pull_request]
|
||||
settings:
|
||||
dry_run: true
|
||||
repo: forgeflux/ftest-docker-cmd-tester
|
||||
tags: latest
|
||||
|
||||
build_and_publish_docker_img:
|
||||
image: plugins/docker
|
||||
when:
|
||||
event: [push, tag, deployment]
|
||||
settings:
|
||||
username: forgeflux
|
||||
password:
|
||||
from_secret: DOCKER_TOKEN
|
||||
repo: forgeflux/ftest-docker-cmd-tester
|
||||
tags: latest
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
FROM debian:latest
|
||||
|
||||
LABEL org.opencontainers.image.source https://git.batsense.net/ForgeFlux/ftest
|
||||
LABEL org.opencontainers.image.source https://git.batsense.net/ForgeFlux/ftest-docker-cmd-tester
|
||||
|
||||
RUN mkdir /sr/
|
||||
WORKDIR /src/
|
||||
|
|
Loading…
Reference in a new issue