From 13d80089e983af343d713328a31305c27a5ea6f1 Mon Sep 17 00:00:00 2001 From: schreifuchs Date: Wed, 29 Jan 2025 21:16:41 +0100 Subject: [PATCH] init fork --- .gitea/workflows/docker.yml | 33 +++++++++++++++++++++++++++++++++ README.md | 2 ++ 2 files changed, 35 insertions(+) create mode 100644 .gitea/workflows/docker.yml diff --git a/.gitea/workflows/docker.yml b/.gitea/workflows/docker.yml new file mode 100644 index 0000000..43d9337 --- /dev/null +++ b/.gitea/workflows/docker.yml @@ -0,0 +1,33 @@ +name: Docker + +on: + push: + branches: [ "dev" ] + schedule: + - cron: '@weekly' + +jobs: + publish: + runs-on: ubuntu-latest + steps: + - name: Get current date + id: date + run: echo "::set-output name=date::$(date +'%Y-%m-%d')" + - uses: https://github.com/actions/checkout@v4 + - name: Set up Docker Buildx + uses: https://github.com/docker/setup-buildx-action@v3 + with: + config-inline: | + [registry."git.schreifuchs.ch"] + http = true + insecure = true + - name: login + run: docker login -u schreifuchs -p ${{ secrets.REGISTRY_TOKEN }} git.schreifuchs.ch + - run: echo "NOW=$(date +'%Y-%m-%dT%H:%M:%S')" + - name: Build and push Docker image + uses: https://github.com/docker/build-push-action@v5 + with: + context: . + file: ./Dockerfile + push: true + tags: "git.schreifuchs.ch/schreifuchs/webmin-samba-docker:${{ steps.date.outputs.date }},git.schreifuchs.ch/schreifuchs/webmin-samba-docker:latest" diff --git a/README.md b/README.md index 2aaa21f..05e0956 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ # webmin-samba-docker +> this is a Fork of [piersonjarvis/webmin-samba-docker](https://github.com/piersonjarvis/webmin-samba-docker) + Docker container based on ubuntu running a samba server, with a webmin webui. This container was build with simplisity in mind.