diff options
| author | Tranch <tranch.xiao@gmail.com> | 2026-08-26 11:20:16 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-08-26 11:20:16 +0800 |
| commit | 65906b9536aaebdec4169b40e7b9eb86b73e65fe (patch) | |
| tree | 56dfe91e98326a18363f1f4781cf001a6200e187 /.github/workflows/promote-acr.yml | |
| parent | c7a47b2ba1cfc17348e729c1b7a6689bd5c9c95d (diff) | |
| parent | 890d6cd86b6bc83b7960c5f54a526af2c13cb755 (diff) | |
| download | AeroCore-OS-65906b9536aaebdec4169b40e7b9eb86b73e65fe.tar.gz AeroCore-OS-65906b9536aaebdec4169b40e7b9eb86b73e65fe.zip | |
Merge pull request #21 from AeroCore-IO/fix/dotenv-overrides
fix(config): make local dotenv optional
Diffstat (limited to '.github/workflows/promote-acr.yml')
| -rw-r--r-- | .github/workflows/promote-acr.yml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/.github/workflows/promote-acr.yml b/.github/workflows/promote-acr.yml index 6b00e3b..ceb5c0f 100644 --- a/.github/workflows/promote-acr.yml +++ b/.github/workflows/promote-acr.yml @@ -13,12 +13,13 @@ on: required: false type: string image_name: - description: "Image name override; defaults to IMAGE_NAME var, then image-template.env" + description: "Image name override; defaults to the runtime IMAGE_NAME variable" required: false type: string env: IMAGE_REGISTRY: "ghcr.io/${{ github.repository_owner }}" + IMAGE_NAME: ${{ vars.IMAGE_NAME || github.event.repository.name }} concurrency: group: ${{ github.workflow }}-${{ inputs.image_name || 'default' }}-${{ inputs.source_tag }} @@ -37,9 +38,6 @@ jobs: - name: Checkout uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7 - - name: Install just - uses: extractions/setup-just@53165ef7e734c5c07cb06b3c8e7b647c5aa16db3 #v4.0.0 - - name: Install skopeo run: | sudo apt-get update @@ -54,7 +52,7 @@ jobs: run: | set -euo pipefail - image_name="${IMAGE_NAME_INPUT:-${IMAGE_NAME_VAR:-$(just image_name)}}" + image_name="${IMAGE_NAME_INPUT:-${IMAGE_NAME_VAR:-${IMAGE_NAME}}}" target_tags="${TARGET_TAGS_INPUT:-$SOURCE_TAG}" { |
