feat: auto publish img from CI
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Aravinth Manivannan 2023-09-27 19:27:46 +05:30
parent e3e85a9bc3
commit 075676fa13
Signed by: realaravinth
GPG Key ID: F8F50389936984FF
2 changed files with 21 additions and 1 deletions

20
.woodpecker.yml Normal file
View 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

View File

@ -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/