woodpecker.yml aktualisiert
All checks were successful
ci/woodpecker/cron/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/cron/woodpecker Pipeline was successful
This commit is contained in:
parent
5ec9a95d5e
commit
b2c166c806
21
drone.yml
21
drone.yml
@ -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
22
woodpecker.yml
Normal 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
|
Loading…
x
Reference in New Issue
Block a user