This commit is contained in:
parent
b6b2950ded
commit
71e9122109
@ -1,19 +1,20 @@
|
||||
steps:
|
||||
- name: build-alpine-python
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
image: crazymax/docker
|
||||
when:
|
||||
- event: [ push, pull_request, tag, release ]
|
||||
- path:
|
||||
include: [ 'DockerImages/Alpine/Python/Dockerfile' ]
|
||||
settings:
|
||||
repo: git.vertinext.com/roryejinn/DockerImages
|
||||
platforms: linux/amd64
|
||||
registry: git.vertinext.com
|
||||
tag: git.vertinext.com/roryejinn/Alpine_Python:latest
|
||||
username:
|
||||
environment:
|
||||
USERNAME:
|
||||
from_secret: REGISTRY_USERNAME
|
||||
password:
|
||||
TOKEN:
|
||||
from_secret: DOCKER_TOKEN
|
||||
commands:
|
||||
- cd Alpine/Python
|
||||
- docker login -u $USERNAME -p $TOKEN git.vertinext.com
|
||||
- docker build -t git.vertinext.com/roryejinn/Alpine_Python:latest .
|
||||
- docker push git.vertinext.com/roryejinn/Alpine_Python:latest
|
||||
|
||||
- name: build-alpine-muddler
|
||||
image: alpine
|
||||
@ -21,15 +22,16 @@ steps:
|
||||
- event: [ push, pull_request, tag, release ]
|
||||
- path:
|
||||
include: [ 'DockerImages/Alpine/Muddler/Dockerfile' ]
|
||||
settings:
|
||||
repo: git.vertinext.com/roryejinn/DockerImages
|
||||
platforms: linux/amd64
|
||||
registry: git.vertinext.com
|
||||
tag: git.vertinext.com/roryejinn/Alpine_Muddler:latest
|
||||
username:
|
||||
environment:
|
||||
USERNAME:
|
||||
from_secret: REGISTRY_USERNAME
|
||||
password:
|
||||
TOKEN:
|
||||
from_secret: DOCKER_TOKEN
|
||||
commands:
|
||||
- cd Alpine/Muddler
|
||||
- docker login -u $USERNAME -p $TOKEN git.vertinext.com
|
||||
- docker build -t git.vertinext.com/roryejinn/Alpine_Muddler:latest .
|
||||
- docker push git.vertinext.com/roryejinn/Alpine_Python:latest
|
||||
|
||||
- name: build-alpine-web
|
||||
image: alpine
|
||||
@ -37,24 +39,28 @@ steps:
|
||||
- event: [ push, pull_request, tag, release ]
|
||||
- path:
|
||||
include: [ 'DockerImages/Alphine/Web/Dockerfile' ]
|
||||
settings:
|
||||
repo: git.vertinext.com/roryejinn/DockerImages
|
||||
platforms: linux/amd64
|
||||
registry: git.vertinext.com
|
||||
tag: git.vertinext.com/roryejinn/Alpine_Web:latest
|
||||
username:
|
||||
environment:
|
||||
USERNAME:
|
||||
from_secret: REGISTRY_USERNAME
|
||||
password:
|
||||
TOKEN:
|
||||
from_secret: DOCKER_TOKEN
|
||||
commands:
|
||||
- cd Alpine/Python
|
||||
- docker login -u $USERNAME -p $TOKEN git.vertinext.com
|
||||
- docker build -t git.vertinext.com/roryejinn/Alpine_Web:latest .
|
||||
- docker push git.vertinext.com/roryejinn/Alpine_Web:latest
|
||||
|
||||
- name: notify-on-failure
|
||||
image: alpine
|
||||
when:
|
||||
- status: [ failure ]
|
||||
environment:
|
||||
TOKEN:
|
||||
from_secret: GOTIFY_TOKEN
|
||||
commands:
|
||||
- apk add curl
|
||||
- >-
|
||||
curl -H "Authorization: Bearer ${GOTIFY_TOKEN}"
|
||||
curl -H "Authorization: Bearer $TOKEN"
|
||||
-H "Title: ${CI} - ${CI_REPO_NAME}"
|
||||
-H "Tag: warning"
|
||||
-H "Actions: http, Open Build, ${CI_PIPLINE_URL}, clear=true"
|
||||
@ -65,10 +71,13 @@ steps:
|
||||
image: alpine
|
||||
when:
|
||||
- status: [ success ]
|
||||
environment:
|
||||
TOKEN:
|
||||
from_secret: GOTIFY_TOKEN
|
||||
commands:
|
||||
- apk add curl
|
||||
- >-
|
||||
curl -H "Authorization: Bearer ${GOTIFY_TOKEN}"
|
||||
curl -H "Authorization: Bearer $TOKEN"
|
||||
-H "Title: ${CI} - ${CI_REPO_NAME}"
|
||||
-H "Tag: package"
|
||||
-H "Actions: http, Open Build, ${CI_PIPLINE_URL}, clear=true"
|
||||
|
@ -1,5 +1,5 @@
|
||||
# Image meant for use in CICD to generate mudlet package release
|
||||
# To generate the package, simply run java -jar /muddle/muddle.jar at the root of your muddler project
|
||||
# Image meant for use in CICD to generate mudlet package release from a muddle project
|
||||
# Location of Jar: /muddle/muddle.jar
|
||||
FROM alpine:latest
|
||||
|
||||
RUN apk add --no-cache openjdk21 wget tar git
|
||||
|
1
Alpine/Muddler/readme.md
Normal file
1
Alpine/Muddler/readme.md
Normal file
@ -0,0 +1 @@
|
||||
An alpine container that includes the Muddle mudlet package builder for building mudlet packages from muddle projects.
|
@ -1,3 +1,4 @@
|
||||
# Barebones alpine release with uv and git for python projects
|
||||
FROM alpine:latest
|
||||
|
||||
RUN apk add --no-cache uv --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community
|
||||
|
1
Alpine/Python/readme.md
Normal file
1
Alpine/Python/readme.md
Normal file
@ -0,0 +1 @@
|
||||
An alpine devcontainer for developing python projects with UV from astral.sh
|
@ -1,3 +1,4 @@
|
||||
# Alpine with nodejs and pnpm
|
||||
FROM alpine:latest
|
||||
|
||||
RUN apk add --no-cache nodejs
|
||||
|
1
Alpine/Web/readme.md
Normal file
1
Alpine/Web/readme.md
Normal file
@ -0,0 +1 @@
|
||||
Lightweight alpine devcontainer for web projects based on nodejs and pnpm
|
Loading…
x
Reference in New Issue
Block a user