Compare commits
2 commits
02c979fe31
...
d343c53dce
Author | SHA1 | Date | |
---|---|---|---|
d343c53dce | |||
689644d28b |
4 changed files with 2 additions and 51 deletions
|
@ -1,13 +1,12 @@
|
|||
matrix:
|
||||
MODULE:
|
||||
- bot
|
||||
- discord
|
||||
|
||||
when:
|
||||
event: [tag, push, manual]
|
||||
|
||||
variables:
|
||||
- &image 'docker.io/maven:3.9-eclipse-temurin-21'
|
||||
- &image 'docker.io/maven:3.9-eclipse-temurin-23-alpine'
|
||||
|
||||
steps:
|
||||
compile:
|
|
@ -5,7 +5,7 @@ matrix:
|
|||
- linux/amd64
|
||||
|
||||
depends_on:
|
||||
- oci-image-cache-build
|
||||
- java
|
||||
|
||||
steps:
|
||||
build-only:
|
||||
|
@ -22,8 +22,6 @@ steps:
|
|||
pull_image: false
|
||||
platforms: ${PLATFORM}
|
||||
dry-run: true
|
||||
build_args:
|
||||
- SETUP_IMAGE=rg.fr-par.scw.cloud/hamburghammer/dchat/setup-image:${CI_PIPELINE_NUMBER}
|
||||
when:
|
||||
- event: [push, manual]
|
||||
branch:
|
||||
|
@ -43,8 +41,6 @@ steps:
|
|||
pull_image: false
|
||||
platforms: ${PLATFORM}
|
||||
auto_tag: true
|
||||
build_args:
|
||||
- SETUP_IMAGE=rg.fr-par.scw.cloud/hamburghammer/dchat/setup-image:${CI_PIPELINE_NUMBER}
|
||||
when:
|
||||
- branch: main
|
||||
event: [push, tag, manual]
|
|
@ -1,20 +0,0 @@
|
|||
depends_on:
|
||||
- oci-image-build
|
||||
|
||||
skip_clone: true
|
||||
# runs always
|
||||
runs_on: [ success, failure ]
|
||||
|
||||
when:
|
||||
event: [tag, push, manual]
|
||||
|
||||
steps:
|
||||
delete-tag:
|
||||
image: rg.fr-par.scw.cloud/hamburghammer/scaleway-delete-image-plugin
|
||||
pull: true
|
||||
settings:
|
||||
token:
|
||||
from_secret: docker_token
|
||||
image-name: dchat/setup-image
|
||||
tag: "${CI_PIPELINE_NUMBER}"
|
||||
region: fr-par
|
|
@ -1,24 +0,0 @@
|
|||
matrix:
|
||||
PLATFORM:
|
||||
- linux/amd64
|
||||
|
||||
depends_on:
|
||||
- java
|
||||
|
||||
when:
|
||||
event: [tag, push, manual]
|
||||
|
||||
steps:
|
||||
build:
|
||||
image: woodpeckerci/plugin-docker-buildx:4.1.0
|
||||
settings:
|
||||
registry: rg.fr-par.scw.cloud/hamburghammer
|
||||
username: nologin
|
||||
password:
|
||||
from_secret: docker_token
|
||||
dockerfile: Dockerfile
|
||||
target: setup-image
|
||||
repo: rg.fr-par.scw.cloud/hamburghammer/dchat/setup-image
|
||||
tag: "${CI_PIPELINE_NUMBER}"
|
||||
pull_image: false
|
||||
platforms: ${PLATFORM}
|
Loading…
Reference in a new issue