Skip to content

Commit e91d4be

Browse files
committed
chore: env vars instead text
1 parent cc22d2a commit e91d4be

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/docker-builds.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,19 @@ on:
44
push:
55
branches:
66
- main
7+
env:
8+
ORG_NAME: ${{ github.repository_owner }}
79

810
jobs:
9-
1011
trigger-build:
11-
uses: multi-repo/workflows/.github/workflows/kaniko-build.yaml@main
12+
uses: ${{ ORG_NAME }}/workflows/.github/workflows/kaniko-build.yaml@main
1213
with:
1314
image-name: ${{ github.repository }}/redis
1415
secrets:
1516
personal_access_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
1617

1718
trigger-cleanup:
18-
uses: multi-repo/workflows/.github/workflows/clean-registry.yaml@main
19+
uses: ${{ ORG_NAME }}/workflows/.github/workflows/clean-registry.yaml@main
1920
with:
2021
owner: multi-repo
2122
repository: redis

0 commit comments

Comments
 (0)