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