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