From 2f5c84be9b7814c0a53b773672699cfa94c333d2 Mon Sep 17 00:00:00 2001 From: Snoweuph Date: Tue, 6 Feb 2024 23:56:18 +0100 Subject: [PATCH] NOTICKET: Setup --- .gitea/workflows/release.yml | 26 ++++++++++++++++++++++++++ .gitignore | 1 + Dockerfile | 0 3 files changed, 27 insertions(+) create mode 100644 .gitea/workflows/release.yml create mode 100644 .gitignore create mode 100644 Dockerfile diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml new file mode 100644 index 0000000..5ff8dd2 --- /dev/null +++ b/.gitea/workflows/release.yml @@ -0,0 +1,26 @@ +name: CI + +on: + push: + branches: + - 'master' + +jobs: + docker: + runs-on: 'ubuntu-latest' + steps: + - name: Set up QEMU + uses: 'https://git.euph.dev/actions/docker-setup-qemu@v3' + - name: Setup Buildx + uses: 'https://git.euph.dev/actions/docker-setup-buildx@v3' + - name: Login to Registry + uses: 'https://git.euph.dev/actions/docker-login@v3' + with: + registry: git.euph.dev + username: ${{ secrets.DEPLOY_USER }} + password: ${{ secrets.DEPLOY_SECRET }} + - name: Build and push + uses: 'https://git.euph.dev/actions/docker-build-push@v5' + with: + push: true + tags: user/app:latest \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bc8a670 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea/* \ No newline at end of file diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..e69de29