woodpecker.yml aktualisiert
All checks were successful
ci/woodpecker/cron/woodpecker Pipeline was successful

This commit is contained in:
damage 2025-01-24 18:53:39 +01:00
parent 5ec9a95d5e
commit b2c166c806
2 changed files with 22 additions and 21 deletions

View File

@ -1,21 +0,0 @@
kind: pipeline
name: default
steps:
- name: maven
image: maven:3
commands:
- mvn package
- name: docker
image: plugins/docker
settings:
dockerfile: build/Dockerfile
registry: source.devloop.de
repo: source.devloop.de/damage/mavor
username:
from_secret: docker_username
password:
from_secret: docker_password
tags:
- latest
- '1'

22
woodpecker.yml Normal file
View File

@ -0,0 +1,22 @@
when:
- event: [cron, manual]
steps:
- name: maven
image: maven:3
commands:
- mvn package
- name: tag
image: node
commands:
- echo -n "$(date +%Y%m%d_%H%M%S), latest, 1" > .tags
- name: docker
image: woodpeckerci/plugin-docker-buildx:5
settings:
dockerfile: build/Dockerfile
registry: https://source.devloop.de
repo: source.devloop.de/damage/mavor
username:
from_secret: docker_username
password:
from_secret: docker_password