commit ca365359da24843c6fce082f6d1fbe002f0d60e4 Author: ebner Date: Mon Jul 13 13:11:24 2026 +0200 initial commit diff --git a/.gitea/workflows/build_and_push.yaml b/.gitea/workflows/build_and_push.yaml new file mode 100644 index 0000000..b00ff3c --- /dev/null +++ b/.gitea/workflows/build_and_push.yaml @@ -0,0 +1,28 @@ +name: Build and Publish Docker Image + +on: + push: + branches: + - main + workflow_dispatch: + +jobs: + docker: + runs-on: ubuntu-latest-intranet + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Login to Docker Registry + uses: docker/login-action@v3 + with: + registry: gitea.psi.ch + username: ${{ github.repository_owner }} + password: ${{ secrets.REGISTRY_TOKEN }} + + - name: Build and push + uses: docker/build-push-action@v6 + with: + context: . + push: true + tags: gitea.psi.ch/${{ github.repository }}:latest diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c3aa3bb --- /dev/null +++ b/Dockerfile @@ -0,0 +1,4 @@ +FROM gitea.psi.ch/images/rhel9 + +RUN dnf install -y git nodejs rsync curl \ + && dnf clean all