From fc54f1bae8dd80c55cf99344e16bace1032d4320 Mon Sep 17 00:00:00 2001 From: Severin Kaderli Date: Sat, 21 Oct 2023 17:32:40 +0200 Subject: [PATCH] Add .gitea actions --- .gitea/workflows/build.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .gitea/workflows/build.yaml diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..c2ec395 --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -0,0 +1,16 @@ +name: Build & Push Docker Image + +on: push + +jobs: + docker: + - name: Log in to the Container registry + uses: docker/login-action@v3 + with: + registry: registry.gitlab.com/severinkaderli/registry + username: ${{ secrets.REGISTRY_USER }} + password: ${{ secrets.REGISTRY_TOKEN }} + - name: Build and push + uses: docker/build-push-action@v5 + with: + tags: home.kaderli.dev \ No newline at end of file