From 159eb7fbc3d8140ad3b576e9de58e4d238bb7838 Mon Sep 17 00:00:00 2001 From: Caesar2011 Date: Mon, 18 May 2026 18:31:34 +0200 Subject: [PATCH] build/patch: update workflow to use actions from git.sebse.de --- .gitea/workflows/build.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 1235923..8bcbd5b 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -6,8 +6,6 @@ on: - main env: - IMAGE: git.sebse.de/${{ github.repository }} - IMAGE_MIGRATE: git.sebse.de/${{ github.repository }}-migrate CHART_PATH: web/charts/factorio-signal-exporter jobs: @@ -18,30 +16,33 @@ jobs: - name: Checkout uses: actions/checkout@v4 - - name: Set SHORT_SHA - run: echo "SHORT_SHA=$(echo ${{ github.sha }} | cut -c1-7)" >> $GITHUB_ENV + - name: Set env vars + run: | + echo "SHORT_SHA=$(echo ${{ github.sha }} | cut -c1-7)" >> $GITHUB_ENV + echo "IMAGE=git.sebse.de/${{ github.repository }}" >> $GITHUB_ENV + echo "IMAGE_MIGRATE=git.sebse.de/${{ github.repository }}-migrate" >> $GITHUB_ENV - name: Docker login - uses: sebse/actions/docker-login@main + uses: git.sebse.de/sebse/actions/docker-login@main with: username: ${{ secrets.REGISTRY_USERNAME }} password: ${{ secrets.REGISTRY_TOKEN }} - name: Build and push app - uses: sebse/actions/docker-build-push@main + uses: git.sebse.de/sebse/actions/docker-build-push@main with: image: ${{ env.IMAGE }} context: ./web - name: Build and push migrate - uses: sebse/actions/docker-build-push@main + uses: git.sebse.de/sebse/actions/docker-build-push@main with: image: ${{ env.IMAGE_MIGRATE }} context: ./web dockerfile: ./web/Dockerfile.migrate - name: Package and push helm chart - uses: sebse/actions/helm-package-push@main + uses: git.sebse.de/sebse/actions/helm-package-push@main with: chart-path: ${{ env.CHART_PATH }} version: 0.0.0-${{ env.SHORT_SHA }} @@ -50,7 +51,7 @@ jobs: password: ${{ secrets.REGISTRY_TOKEN }} - name: Deploy to prod - uses: sebse/actions/helm-deploy@main + uses: git.sebse.de/sebse/actions/helm-deploy@main with: app: factorio-signal-exporter profile: prod