Remove hardcoded references to the registry
All checks were successful
/ build (push) Successful in 2m56s

This commit is contained in:
Hornwitser 2025-05-18 20:43:39 +02:00
parent 715b3e9314
commit 93c8d13c47

View file

@ -1,7 +1,6 @@
on: [push] on: [push]
env: env:
REGISTRY: forge.hornwitser.no REGISTRY_IMAGE: ${{ vars.REGISTRY }}/${{ github.repository }}:${{ github.ref_name }}
REGISTRY_IMAGE: forge.hornwitser.no/hornwitser/builder:${{ github.ref_name }}
jobs: jobs:
build: build:
@ -33,7 +32,7 @@ jobs:
- -
name: Authenticate with registry name: Authenticate with registry
run: | 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 name: Build and push
run: | run: |