Skip to content

Commit 8acb8cd

Browse files
committed
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 <[email protected]>
1 parent 39e9602 commit 8acb8cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/nightly.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
workflow_dispatch:
66

77
env:
8-
CONTROLLER: ${{ github.event.repository.name }}
8+
REPOSITORY: ${{ github.repository }}
99

1010
jobs:
1111
build:
@@ -30,4 +30,4 @@ jobs:
3030
file: ./Dockerfile
3131
platforms: linux/amd64,linux/arm/v7,linux/arm64
3232
tags: |
33-
fluxcd/${{ env.CONTROLLER }}:nightly
33+
${{ env.REPOSITORY }}:nightly

0 commit comments

Comments
 (0)