moves home back to /home/abc
ci/woodpecker/manual/woodpecker Pipeline was successful Details

main
Johannes Bülow 2024-01-31 14:15:55 +01:00
parent 56233b20d0
commit cf66141e66
Signed by untrusted user who does not match committer: jmb
GPG Key ID: B56971CF7B8F83A6
2 changed files with 32 additions and 0 deletions

25
.woodpecker.yaml Normal file
View File

@ -0,0 +1,25 @@
# 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/37e29c227717c1c07d2776cddcf147
# 25bf952875/.woodpecker/hello.yml
when:
branch: main
steps:
build-container:
image: woodpeckerci/plugin-docker-buildx
settings:
dockerfile: Dockerfile
platforms: linux/arm64/v8,linux/amd64
repo: git.jmbit.de/jmb/webtop-plus
registry: git.jmbit.de
username: jmb
password:
from_secret: forgejo_token
when:
event: push

7
Dockerfile Normal file
View File

@ -0,0 +1,7 @@
FROM lscr.io/linuxserver/webtop
LABEL authors="Johannes Bülow <johannes.buelow@jmbit.de>"
RUN mkdir /home/abc && chown -R abc:abc /home/abc && usermod -d /home/abc abc
ENV HOME=/home/abc \
START_DOCKER=false
EXPOSE 3000 3001