Use `github.repository` property for image name
As the `github.event.repository.name` property is not always available, for example when the action gets triggered by a cron job. Signed-off-by: Hidde Beydals <hello@hidde.co>
This commit is contained in:
parent
39e9602ada
commit
8acb8cd688
|
@ -5,7 +5,7 @@ on:
|
|||
workflow_dispatch:
|
||||
|
||||
env:
|
||||
CONTROLLER: ${{ github.event.repository.name }}
|
||||
REPOSITORY: ${{ github.repository }}
|
||||
|
||||
jobs:
|
||||
build:
|
||||
|
@ -30,4 +30,4 @@ jobs:
|
|||
file: ./Dockerfile
|
||||
platforms: linux/amd64,linux/arm/v7,linux/arm64
|
||||
tags: |
|
||||
fluxcd/${{ env.CONTROLLER }}:nightly
|
||||
${{ env.REPOSITORY }}:nightly
|
||||
|
|
Loading…
Reference in New Issue