From e7ceb01436458250f7a7d90d02242a1cfbe288e7 Mon Sep 17 00:00:00 2001 From: valentinkolb Date: Thu, 14 Mar 2024 20:55:05 +0100 Subject: [PATCH] trigger ci/cd --- .gitea/workflows/build_and_push.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .gitea/workflows/build_and_push.yml diff --git a/.gitea/workflows/build_and_push.yml b/.gitea/workflows/build_and_push.yml new file mode 100644 index 0000000..29c2b11 --- /dev/null +++ b/.gitea/workflows/build_and_push.yml @@ -0,0 +1,29 @@ +name: Build and Push Docker image + +on: + push: + branches: + - main + workflow_dispatch: + +jobs: + build-and-push: + runs-on: ubuntu-latest + steps: + - name: Check out the repo + uses: actions/checkout@v2 + + - name: Log in to GitHub Container Registry + uses: docker/login-action@v1 + with: + registry: git.stuve.uni-ulm.de + username: ${{ user_name }} + password: ${{ user_password }} + + - name: Build and push Docker image + uses: docker/build-push-action@v2 + with: + context: . + file: ./Dockerfile + push: true + tags: git.stuve.uni-ulm.de/StuVe-IT/wiki-js-customization:latest