Maybe this time
Some checks failed
ci/woodpecker/manual/woodpecker Pipeline failed

This commit is contained in:
Charles Click 2024-10-08 00:09:44 -04:00
parent 71e9122109
commit 691b7ff2da
Signed by: roryejinn
GPG Key ID: EDECB89DEDB998C0

View File

@ -10,6 +10,8 @@ steps:
from_secret: REGISTRY_USERNAME
TOKEN:
from_secret: DOCKER_TOKEN
volumes:
- /var/run/docker.sock:/var/run/docker.sock
commands:
- cd Alpine/Python
- docker login -u $USERNAME -p $TOKEN git.vertinext.com
@ -22,6 +24,8 @@ steps:
- event: [ push, pull_request, tag, release ]
- path:
include: [ 'DockerImages/Alpine/Muddler/Dockerfile' ]
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
USERNAME:
from_secret: REGISTRY_USERNAME
@ -39,6 +43,8 @@ steps:
- event: [ push, pull_request, tag, release ]
- path:
include: [ 'DockerImages/Alphine/Web/Dockerfile' ]
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
USERNAME:
from_secret: REGISTRY_USERNAME
@ -51,35 +57,29 @@ steps:
- docker push git.vertinext.com/roryejinn/Alpine_Web:latest
- name: notify-on-failure
image: alpine
image: codeberg.org/l-x/woodpecker-ntfy
when:
- status: [ failure ]
environment:
TOKEN:
settings:
url: https://gotify.vertinext.com/woodpecker
token:
from_secret: GOTIFY_TOKEN
commands:
- apk add curl
- >-
curl -H "Authorization: Bearer $TOKEN"
-H "Title: ${CI} - ${CI_REPO_NAME}"
-H "Tag: warning"
-H "Actions: http, Open Build, ${CI_PIPLINE_URL}, clear=true"
-d "Failed to build docker images."
gotify.vertinext.com/woodpecker
title: ${CI} - ${CI_REPO_NAME}
actions: "http, Open Build, ${CI_PIPELINE_URL}, clear=true"
tags: warning
icon: https://woodpecker-ci.org/img/logo.svg
message: Failed to build docker images.
- name: notify-on-success
image: alpine
image: codeberg.org/l-x/woodpecker-ntfy
when:
- status: [ success ]
environment:
TOKEN:
settings:
url: https://gotify.vertinext.com/woodpecker
token:
from_secret: GOTIFY_TOKEN
commands:
- apk add curl
- >-
curl -H "Authorization: Bearer $TOKEN"
-H "Title: ${CI} - ${CI_REPO_NAME}"
-H "Tag: package"
-H "Actions: http, Open Build, ${CI_PIPLINE_URL}, clear=true"
-d "Docker images rebuilt and pushed to the container repository."
gotify.vertinext.com/woodpecker
title: ${CI} - ${CI_REPO_NAME}
actions: "http, Open Build, ${CI_PIPELINE_URL}, clear=true"
tags: whale
icon: https://woodpecker-ci.org/img/logo.svg
message: Rebuilt docker images and pushed to image repository.