From f9ea161ead51da8fde2977f04adf3b9fd9a10eda Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Wed, 8 Jul 2026 16:54:09 +0200 Subject: [PATCH] =?UTF-8?q?.gitea/workflows/deploy.yaml=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/deploy.yaml | 44 ++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .gitea/workflows/deploy.yaml diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml new file mode 100644 index 0000000..2c3be8f --- /dev/null +++ b/.gitea/workflows/deploy.yaml @@ -0,0 +1,44 @@ +name: Deploy on push +run-name: Deploy on push +on: + push: + branches: + - master + +jobs: + build: + runs-on: [runner] + container: catthehacker/ubuntu:act-latest + steps: + - name: Setup docker + uses: https://github.com/papodaca/install-docker-action@main + - run: docker -v + + - name: Clone Repository + uses: https://github.com/actions/checkout@v3 + with: + token: ${{ secrets.CI_ACCESS_TOKEN }} + submodules: true + + - name: Build pelican-debian32 image + run: | + docker build -t git.sh-edraft.de/sh-edraft.de/pelican-debian32:latest . + + push: + needs: build + runs-on: [runner] + container: catthehacker/ubuntu:act-latest + steps: + - name: Setup docker + uses: https://github.com/papodaca/install-docker-action@main + - run: docker -v + + - name: Login to registry git.sh-edraft.de + uses: https://github.com/docker/login-action@v1 + with: + registry: git.sh-edraft.de + username: ${{ secrets.CI_USERNAME }} + password: ${{ secrets.CI_ACCESS_TOKEN }} + + - name: Push image + run: docker push git.sh-edraft.de/sh-edraft.de/pelican-debian32:latest