Remove hardcoded references to the registry
All checks were successful
/ build (push) Successful in 2m56s
All checks were successful
/ build (push) Successful in 2m56s
This commit is contained in:
parent
715b3e9314
commit
93c8d13c47
1 changed files with 2 additions and 3 deletions
|
@ -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: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue