From bd6f75184318465b77b3ef207210fe5684c3583c Mon Sep 17 00:00:00 2001 From: Pupyrinth Date: Tue, 9 Dec 2025 15:19:56 +0100 Subject: [PATCH] Adding dockerfile and action --- .gitea/workflows/build.yml | 22 ++++++++++++++++++++++ Dockerfile | 3 +++ 2 files changed, 25 insertions(+) create mode 100644 .gitea/workflows/build.yml create mode 100644 Dockerfile diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml new file mode 100644 index 0000000..bc91048 --- /dev/null +++ b/.gitea/workflows/build.yml @@ -0,0 +1,22 @@ +name: "Build and push docker image" +on: + push: + branches: + - main + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Login registry + uses: docker/login-action@v3 + with: + registry: git.gliroid.com + username: ${{ gitea.actor }} + password: ${{ secrets.TOKEN }} + - name: Build image + run: docker build -t git.gliroid.com/pupyrinth/chronolock-pack:latest + - name: Push image + run: docker push git.gliroid.com/pupyrinth/chronolock-pack:latest diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6ee1489 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,3 @@ +FROM nginx:1.29.3-alpine + +COPY . /usr/share/nginx/html