Skip to content

ci: use a different secret for SITE_URL for internal img #1

ci: use a different secret for SITE_URL for internal img

ci: use a different secret for SITE_URL for internal img #1

Workflow file for this run

name: Push Image

Check failure on line 1 in .github/workflows/push-image.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/push-image.yml

Invalid workflow file

(Line: 13, Col: 19): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.SITE_URL, (Line: 23, Col: 19): Unrecognized named-value: 'secrets'. Located at position 1 within expression: secrets.SITE_URL_INTERNAL
on:
push:
tags:
- "v*"
workflow_dispatch:
jobs:
push-scan-public:
uses: mconf/mconf-ci-jobs/.github/workflows/lb-push-scan-image.yml@main
with:
build-args: |
SITE_URL=${{ secrets.SITE_URL }}
SHOW_INTERNAL_APIS=false
image-suffix: ''
runs-on: '["ubuntu-22.04"]'
secrets: inherit
push-scan-internal:
uses: mconf/mconf-ci-jobs/.github/workflows/lb-push-scan-image.yml@main
with:
build-args: |
SITE_URL=${{ secrets.SITE_URL_INTERNAL }}
SHOW_INTERNAL_APIS=true
image-suffix: '-internal'
runs-on: '["ubuntu-22.04"]'
secrets: inherit