Skip to content

Commit f291751

Browse files
committed
ci: fix push-image secrets by loading them into envs first
1 parent 0c248f0 commit f291751

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/push-image.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,16 @@ on:
66
- "v*"
77
workflow_dispatch:
88

9+
env:
10+
SITE_URL: ${{ secrets.SITE_URL }}
11+
SITE_URL_INTERNAL: ${{ secrets.SITE_URL_INTERNAL }}
12+
913
jobs:
1014
push-scan-public:
1115
uses: mconf/mconf-ci-jobs/.github/workflows/lb-push-scan-image.yml@main
1216
with:
1317
build-args: |
14-
SITE_URL=${{ secrets.SITE_URL }}
18+
SITE_URL=${{ env.SITE_URL }}
1519
SHOW_INTERNAL_APIS=false
1620
image-suffix: ''
1721
runs-on: '["ubuntu-22.04"]'
@@ -21,7 +25,7 @@ jobs:
2125
uses: mconf/mconf-ci-jobs/.github/workflows/lb-push-scan-image.yml@main
2226
with:
2327
build-args: |
24-
SITE_URL=${{ secrets.SITE_URL_INTERNAL }}
28+
SITE_URL=${{ env.SITE_URL_INTERNAL }}
2529
SHOW_INTERNAL_APIS=true
2630
image-suffix: '-internal'
2731
runs-on: '["ubuntu-22.04"]'

0 commit comments

Comments
 (0)