build-push: hoist REGISTRY_TOKEN to job env (diagnostic)
This commit is contained in:
parent
d6553a7a05
commit
ca003d60d9
1 changed files with 1 additions and 2 deletions
|
|
@ -49,6 +49,7 @@ jobs:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
REGISTRY: https://${{ vars.REGISTRY_HOST }}
|
REGISTRY: https://${{ vars.REGISTRY_HOST }}
|
||||||
|
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
@ -110,8 +111,6 @@ jobs:
|
||||||
|
|
||||||
- name: Log in to the Forgejo registry
|
- name: Log in to the Forgejo registry
|
||||||
if: steps.image.outputs.changed == 'true'
|
if: steps.image.outputs.changed == 'true'
|
||||||
env:
|
|
||||||
REGISTRY_TOKEN: ${{ secrets.REGISTRY_TOKEN }}
|
|
||||||
run: |
|
run: |
|
||||||
# NOT secrets.GITHUB_TOKEN -- Forgejo's per-job auto-injected token can
|
# NOT secrets.GITHUB_TOKEN -- Forgejo's per-job auto-injected token can
|
||||||
# never push to the container registry (a known Forgejo limitation,
|
# never push to the container registry (a known Forgejo limitation,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue