Compare commits
2 commits
d803ad1663
...
be35644fa0
Author | SHA1 | Date | |
---|---|---|---|
be35644fa0 | |||
6f5e340458 |
2 changed files with 18 additions and 3 deletions
15
.woodpecker.yml
Normal file
15
.woodpecker.yml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
pipeline:
|
||||||
|
nulo-container:
|
||||||
|
image: docker.io/woodpeckerci/plugin-docker-buildx
|
||||||
|
settings:
|
||||||
|
repo: gitea.nulo.in/nulo/forgejo
|
||||||
|
tag: v1.20.4-0
|
||||||
|
registry: https://gitea.nulo.in
|
||||||
|
username: Nulo
|
||||||
|
password:
|
||||||
|
from_secret: registry_secret
|
||||||
|
secrets: [REGISTRY_SECRET]
|
||||||
|
when:
|
||||||
|
branch: "nulo/release/v1.20"
|
||||||
|
event: "push"
|
||||||
|
|
|
@ -65,10 +65,10 @@ RUN addgroup \
|
||||||
-s /bin/bash \
|
-s /bin/bash \
|
||||||
-u 1000 \
|
-u 1000 \
|
||||||
-G git \
|
-G git \
|
||||||
git && \
|
_gitea && \
|
||||||
echo "git:*" | chpasswd -e
|
echo "_gitea:*" | chpasswd -e
|
||||||
|
|
||||||
ENV USER git
|
ENV USER _gitea
|
||||||
ENV GITEA_CUSTOM /data/gitea
|
ENV GITEA_CUSTOM /data/gitea
|
||||||
|
|
||||||
VOLUME ["/data"]
|
VOLUME ["/data"]
|
||||||
|
|
Loading…
Reference in a new issue