From 715b3e93143dd48e14982b2c907cdf29ab41083b Mon Sep 17 00:00:00 2001 From: Hornwitser Date: Sun, 18 May 2025 20:36:31 +0200 Subject: [PATCH 1/2] Update readme --- Readme.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Readme.md b/Readme.md index 7e8fe3a..116ad9e 100644 --- a/Readme.md +++ b/Readme.md @@ -1,6 +1,6 @@ # Builder -Common docker image used for running application builds, CI pipelines, and deployment scripts based on Debian 12. +Common container image used for running application builds, CI pipelines, and deployment scripts based on Debian Trixie. ## Tools included From 93c8d13c47759ca0cfb6cf2f97167d745cddfff1 Mon Sep 17 00:00:00 2001 From: Hornwitser Date: Sun, 18 May 2025 20:43:39 +0200 Subject: [PATCH 2/2] Remove hardcoded references to the registry --- .forgejo/workflows/build.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 8926c14..6760be6 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -1,7 +1,6 @@ on: [push] env: - REGISTRY: forge.hornwitser.no - REGISTRY_IMAGE: forge.hornwitser.no/hornwitser/builder:${{ github.ref_name }} + REGISTRY_IMAGE: ${{ vars.REGISTRY }}/${{ github.repository }}:${{ github.ref_name }} jobs: build: @@ -33,7 +32,7 @@ jobs: - name: Authenticate with registry run: | - echo "${{ secrets.REGISTRY_TOKEN }}" | buildah login ${{ env.REGISTRY }} --username runner --password-stdin + echo "${{ secrets.REGISTRY_TOKEN }}" | buildah login ${{ vars.REGISTRY }} --username runner --password-stdin - name: Build and push run: |