diff --git a/.woodpecker.yaml b/.woodpecker.yaml new file mode 100644 index 0000000..b504075 --- /dev/null +++ b/.woodpecker.yaml @@ -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 diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c17a114 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +FROM lscr.io/linuxserver/webtop +LABEL authors="Johannes Bülow " +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