mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
use format
This commit is contained in:
parent
17a35fc931
commit
38d304f361
1 changed files with 3 additions and 1 deletions
4
.github/workflows/build_container.yml
vendored
4
.github/workflows/build_container.yml
vendored
|
|
@ -22,7 +22,9 @@ jobs:
|
|||
contents: read
|
||||
packages: write
|
||||
statuses: write
|
||||
continue-on-error: false
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os:
|
||||
- registry.fedoraproject.org/fedora
|
||||
|
|
@ -113,7 +115,7 @@ jobs:
|
|||
BASE_IMAGE=${{ matrix.os }}
|
||||
IMAGE_VERSION=${{ matrix.tag }}
|
||||
extra-args: |
|
||||
${{ matrix.append == 'ubi' && '--volume=${{ github.workspace }}/ubi:/etc/pki/entitlement-host' || ''}}
|
||||
${{ matrix.append == 'ubi' && format('--volume={0}/ubi:/etc/pki/entitlement-host', github.workspace) || ''}}
|
||||
|
||||
- name: Push image
|
||||
uses: redhat-actions/push-to-registry@v2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue