This commit is contained in:
parent
b6b2950ded
commit
71e9122109
@ -1,19 +1,20 @@
|
|||||||
steps:
|
steps:
|
||||||
- name: build-alpine-python
|
- name: build-alpine-python
|
||||||
image: woodpeckerci/plugin-docker-buildx
|
image: crazymax/docker
|
||||||
when:
|
when:
|
||||||
- event: [ push, pull_request, tag, release ]
|
- event: [ push, pull_request, tag, release ]
|
||||||
- path:
|
- path:
|
||||||
include: [ 'DockerImages/Alpine/Python/Dockerfile' ]
|
include: [ 'DockerImages/Alpine/Python/Dockerfile' ]
|
||||||
settings:
|
environment:
|
||||||
repo: git.vertinext.com/roryejinn/DockerImages
|
USERNAME:
|
||||||
platforms: linux/amd64
|
|
||||||
registry: git.vertinext.com
|
|
||||||
tag: git.vertinext.com/roryejinn/Alpine_Python:latest
|
|
||||||
username:
|
|
||||||
from_secret: REGISTRY_USERNAME
|
from_secret: REGISTRY_USERNAME
|
||||||
password:
|
TOKEN:
|
||||||
from_secret: DOCKER_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
|
- name: build-alpine-muddler
|
||||||
image: alpine
|
image: alpine
|
||||||
@ -21,15 +22,16 @@ steps:
|
|||||||
- event: [ push, pull_request, tag, release ]
|
- event: [ push, pull_request, tag, release ]
|
||||||
- path:
|
- path:
|
||||||
include: [ 'DockerImages/Alpine/Muddler/Dockerfile' ]
|
include: [ 'DockerImages/Alpine/Muddler/Dockerfile' ]
|
||||||
settings:
|
environment:
|
||||||
repo: git.vertinext.com/roryejinn/DockerImages
|
USERNAME:
|
||||||
platforms: linux/amd64
|
|
||||||
registry: git.vertinext.com
|
|
||||||
tag: git.vertinext.com/roryejinn/Alpine_Muddler:latest
|
|
||||||
username:
|
|
||||||
from_secret: REGISTRY_USERNAME
|
from_secret: REGISTRY_USERNAME
|
||||||
password:
|
TOKEN:
|
||||||
from_secret: DOCKER_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
|
- name: build-alpine-web
|
||||||
image: alpine
|
image: alpine
|
||||||
@ -37,24 +39,28 @@ steps:
|
|||||||
- event: [ push, pull_request, tag, release ]
|
- event: [ push, pull_request, tag, release ]
|
||||||
- path:
|
- path:
|
||||||
include: [ 'DockerImages/Alphine/Web/Dockerfile' ]
|
include: [ 'DockerImages/Alphine/Web/Dockerfile' ]
|
||||||
settings:
|
environment:
|
||||||
repo: git.vertinext.com/roryejinn/DockerImages
|
USERNAME:
|
||||||
platforms: linux/amd64
|
|
||||||
registry: git.vertinext.com
|
|
||||||
tag: git.vertinext.com/roryejinn/Alpine_Web:latest
|
|
||||||
username:
|
|
||||||
from_secret: REGISTRY_USERNAME
|
from_secret: REGISTRY_USERNAME
|
||||||
password:
|
TOKEN:
|
||||||
from_secret: DOCKER_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
|
- name: notify-on-failure
|
||||||
image: alpine
|
image: alpine
|
||||||
when:
|
when:
|
||||||
- status: [ failure ]
|
- status: [ failure ]
|
||||||
|
environment:
|
||||||
|
TOKEN:
|
||||||
|
from_secret: GOTIFY_TOKEN
|
||||||
commands:
|
commands:
|
||||||
- apk add curl
|
- apk add curl
|
||||||
- >-
|
- >-
|
||||||
curl -H "Authorization: Bearer ${GOTIFY_TOKEN}"
|
curl -H "Authorization: Bearer $TOKEN"
|
||||||
-H "Title: ${CI} - ${CI_REPO_NAME}"
|
-H "Title: ${CI} - ${CI_REPO_NAME}"
|
||||||
-H "Tag: warning"
|
-H "Tag: warning"
|
||||||
-H "Actions: http, Open Build, ${CI_PIPLINE_URL}, clear=true"
|
-H "Actions: http, Open Build, ${CI_PIPLINE_URL}, clear=true"
|
||||||
@ -65,10 +71,13 @@ steps:
|
|||||||
image: alpine
|
image: alpine
|
||||||
when:
|
when:
|
||||||
- status: [ success ]
|
- status: [ success ]
|
||||||
|
environment:
|
||||||
|
TOKEN:
|
||||||
|
from_secret: GOTIFY_TOKEN
|
||||||
commands:
|
commands:
|
||||||
- apk add curl
|
- apk add curl
|
||||||
- >-
|
- >-
|
||||||
curl -H "Authorization: Bearer ${GOTIFY_TOKEN}"
|
curl -H "Authorization: Bearer $TOKEN"
|
||||||
-H "Title: ${CI} - ${CI_REPO_NAME}"
|
-H "Title: ${CI} - ${CI_REPO_NAME}"
|
||||||
-H "Tag: package"
|
-H "Tag: package"
|
||||||
-H "Actions: http, Open Build, ${CI_PIPLINE_URL}, clear=true"
|
-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
|
# Image meant for use in CICD to generate mudlet package release from a muddle project
|
||||||
# To generate the package, simply run java -jar /muddle/muddle.jar at the root of your muddler project
|
# Location of Jar: /muddle/muddle.jar
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
|
|
||||||
RUN apk add --no-cache openjdk21 wget tar git
|
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
|
FROM alpine:latest
|
||||||
|
|
||||||
RUN apk add --no-cache uv --repository=https://dl-cdn.alpinelinux.org/alpine/edge/community
|
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
|
FROM alpine:latest
|
||||||
|
|
||||||
RUN apk add --no-cache nodejs
|
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…
Reference in New Issue
Block a user