Compare commits
3 Commits
7f7667dd57
...
cec5dfec9f
Author | SHA1 | Date | |
---|---|---|---|
|
cec5dfec9f | ||
|
77827af3ac | ||
|
e0802d6618 |
29
.woodpecker.yml
Normal file
29
.woodpecker.yml
Normal file
@ -0,0 +1,29 @@
|
||||
---
|
||||
branches: main
|
||||
|
||||
pipeline:
|
||||
woodpecker-ci:
|
||||
image: woodpeckerci/plugin-docker-buildx
|
||||
privileged: true
|
||||
secrets: [repository_username, repository_password]
|
||||
settings:
|
||||
dockerfile: woodpecker-ci/Containerfile
|
||||
platforms: linux/amd64,linux/arm64/v8
|
||||
registry: git.shrug.pw
|
||||
repo: git.shrug.pw/neil/cultfiftoctet.org
|
||||
tag: latest
|
||||
pull_image: true
|
||||
auto_tag: true
|
||||
auto_labels: true
|
||||
mtu: 1480
|
||||
username:
|
||||
from_secret: registry_username
|
||||
password:
|
||||
from_secret: registry_password
|
||||
logins:
|
||||
- registry: git.shrug.pw
|
||||
username:
|
||||
from_secret: registry_username
|
||||
password:
|
||||
from_secret: registry_password
|
||||
|
@ -2,3 +2,4 @@ FROM docker.io/library/caddy:2.6.0-beta.3
|
||||
|
||||
COPY Caddyfile /etc/caddy/Caddyfile
|
||||
COPY index.html /srv/
|
||||
COPY niusgmrvc.txt /srv/
|
||||
|
@ -5,7 +5,7 @@ metadata:
|
||||
name: caddy
|
||||
namespace: cultfifthoctet
|
||||
spec:
|
||||
replicas: 3
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: caddy
|
||||
@ -16,7 +16,7 @@ spec:
|
||||
spec:
|
||||
containers:
|
||||
- name: caddy
|
||||
image: git.shrug.pw/neil/cultfifthoctet:latest
|
||||
image: git.shrug.pw/neil/cultfifthoctet
|
||||
ports:
|
||||
- name: tcp
|
||||
containerPort: 8080
|
||||
@ -31,7 +31,7 @@ spec:
|
||||
- port: 8080
|
||||
targetPort: 8080
|
||||
protocol: TCP
|
||||
type: LoadBalancer
|
||||
type: ClusterIP
|
||||
selector:
|
||||
app: caddy
|
||||
|
||||
|
1
niusgmrvc.txt
Normal file
1
niusgmrvc.txt
Normal file
@ -0,0 +1 @@
|
||||
Hi!
|
Loading…
x
Reference in New Issue
Block a user