moved to woodpecker ci
ci/woodpecker/push/woodpecker Pipeline failed
Details
ci/woodpecker/push/woodpecker Pipeline failed
Details
parent
a0ec4e6629
commit
e8e1b78464
|
@ -0,0 +1,39 @@
|
||||||
|
# Build and publish Docker images for multible architectures.
|
||||||
|
#
|
||||||
|
# Pushing an image to codeberg as container registry,
|
||||||
|
# package owner will be the repo owner.
|
||||||
|
#
|
||||||
|
# this config also shows usage of yaml aliases and
|
||||||
|
# was taken from https://codeberg.org/6543/docker-images/src/commit/37e29c227717c1c07d2776cddcf14725bf952875/.woodpecker/hello.yml
|
||||||
|
|
||||||
|
when:
|
||||||
|
branch: main
|
||||||
|
|
||||||
|
variables:
|
||||||
|
- &file Dockerfile
|
||||||
|
- &repo docker.io/jmbitci/www-jmbit-de
|
||||||
|
|
||||||
|
steps:
|
||||||
|
dryrun:
|
||||||
|
image: klakegg/hugo
|
||||||
|
commands:
|
||||||
|
- hugo --minify
|
||||||
|
when:
|
||||||
|
event: [ pull-request, push]
|
||||||
|
|
||||||
|
publish:
|
||||||
|
image: woodpeckerci/plugin-docker-buildx
|
||||||
|
settings:
|
||||||
|
dockerfile: *file
|
||||||
|
platforms: linux/arm64/v8,linux/amd64
|
||||||
|
repo: *repo
|
||||||
|
registry: docker.io
|
||||||
|
tags:
|
||||||
|
- latest
|
||||||
|
- ${CI_COMMIT_SHA}
|
||||||
|
username: jmbitci
|
||||||
|
password:
|
||||||
|
from_secret: dockerhub_token
|
||||||
|
when:
|
||||||
|
event: push
|
||||||
|
|
11
Makefile
11
Makefile
|
@ -4,16 +4,15 @@ dev:
|
||||||
hugo:
|
hugo:
|
||||||
hugo
|
hugo
|
||||||
container:
|
container:
|
||||||
podman build -t docker.io/jmbitci/www-jmbit-de:latest .
|
podman build -t docker.io/jmbitci/www-jmbit-de:latest -t docker.io/jmbitci/www-jmbit-de:$(HEAD) .
|
||||||
podman build -t docker.io/jmbitci/www-jmbit-de:$(HEAD) .
|
|
||||||
publish:
|
publish:
|
||||||
podman push docker.io/jmbitci/www-jmbit-de:latest
|
podman push docker.io/jmbitci/www-jmbit-de:latest --all-tags
|
||||||
podman push docker.io/jmbitci/www-jmbit-de:$(HEAD)
|
|
||||||
nopub: hugo container
|
nopub: hugo container
|
||||||
podman run --rm -p8080:80 docker.io/jmbitci/www-jmbit-de
|
podman run --rm -p8080:80 docker.io/jmbitci/www-jmbit-de
|
||||||
|
|
||||||
rollout:
|
#rollout:
|
||||||
kubectl --context=jmbit-prod rollout restart deployment www-jmbit-de -n jmbit-web
|
# kubectl --context=jmbit-prod rollout restart deployment www-jmbit-de -n jmbit-web
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -rf public
|
rm -rf public
|
||||||
|
|
5518
cert-manager.yaml
5518
cert-manager.yaml
File diff suppressed because it is too large
Load Diff
|
@ -1,38 +0,0 @@
|
||||||
---
|
|
||||||
apiVersion: apps/v1
|
|
||||||
kind: Deployment
|
|
||||||
metadata:
|
|
||||||
name: www-jmbit-de
|
|
||||||
namespace: jmbit-web
|
|
||||||
labels:
|
|
||||||
app: nginx-jmbit-www
|
|
||||||
spec:
|
|
||||||
replicas: 2
|
|
||||||
selector:
|
|
||||||
matchLabels:
|
|
||||||
app: nginx-jmbit-www
|
|
||||||
template:
|
|
||||||
metadata:
|
|
||||||
labels:
|
|
||||||
app: nginx-jmbit-www
|
|
||||||
spec:
|
|
||||||
containers:
|
|
||||||
- name: www-jmbit-de
|
|
||||||
image: docker.io/jmbitci/www-jmbit-de
|
|
||||||
imagePullPolicy: "Always"
|
|
||||||
ports:
|
|
||||||
- containerPort: 80
|
|
||||||
---
|
|
||||||
apiVersion: v1
|
|
||||||
kind: Service
|
|
||||||
metadata:
|
|
||||||
name: www-jmbit-de-service
|
|
||||||
namespace: jmbit-web
|
|
||||||
spec:
|
|
||||||
ports:
|
|
||||||
- port: 80
|
|
||||||
targetPort: 80
|
|
||||||
name: tcp
|
|
||||||
selector:
|
|
||||||
app: nginx-jmbit-www
|
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
Contact: mailto:security@jmbit.de
|
||||||
|
Expires: 2024-06-30T21:59:00.000Z
|
||||||
|
Encryption: https://www.jmbit.de/gpg.asc.txt
|
||||||
|
Preferred-Languages: en,de
|
||||||
|
Canonical: https://www.jmbit.de/security.txt
|
||||||
|
|
Loading…
Reference in New Issue