commit 2f5c84be9b7814c0a53b773672699cfa94c333d2 Author: Snoweuph Date: Tue Feb 6 23:56:18 2024 +0100 NOTICKET: Setup 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