mirror of
https://github.com/rocky-linux/sig-cloud-instance-images.git
synced 2024-12-18 15:18:35 +00:00
fix variables
This commit is contained in:
parent
7452bc7c40
commit
ef48e489ea
33
.github/workflows/build-empanadas.yml
vendored
33
.github/workflows/build-empanadas.yml
vendored
@ -25,22 +25,21 @@ jobs:
|
|||||||
- s390x
|
- s390x
|
||||||
- ppc64le
|
- ppc64le
|
||||||
version:
|
version:
|
||||||
- 8
|
- major: 8
|
||||||
- 9
|
minor: 6
|
||||||
|
- major: 9
|
||||||
|
minor: 0
|
||||||
type:
|
type:
|
||||||
- name: 'Container'
|
- name: Container
|
||||||
variant:
|
variant: Base
|
||||||
- Base
|
- name: Container
|
||||||
- name: 'Container'
|
variant: Minimal
|
||||||
variant:
|
- name: Container
|
||||||
- Minimal
|
variant: UBI
|
||||||
- name: 'Container'
|
- name: GenericCloud
|
||||||
variant:
|
- name: EC2
|
||||||
- UBI
|
- name: Azure
|
||||||
- name: 'GenericCloud'
|
- name: OCP
|
||||||
- name: 'EC2'
|
|
||||||
- name: 'Azure'
|
|
||||||
- name: 'OCP'
|
|
||||||
exclude:
|
exclude:
|
||||||
- architecture: s390x
|
- architecture: s390x
|
||||||
version: 8
|
version: 8
|
||||||
@ -56,8 +55,8 @@ jobs:
|
|||||||
IMAGE: ghcr.io/rocky-linux/empanadas-imagefactory:latest
|
IMAGE: ghcr.io/rocky-linux/empanadas-imagefactory:latest
|
||||||
LIBVIRT_DEFAULT_URI:
|
LIBVIRT_DEFAULT_URI:
|
||||||
run: |
|
run: |
|
||||||
export VARIANTS="$(test -z '${{ matrix.type.variant }}' && '' || '--variant ${{ matrix.type.variant }}')"
|
export VARIANT_ARGS="$(test -z '${{ matrix.type.variant }}' && '' || '--variant ${{ matrix.type.variant }}')"
|
||||||
export CMD="build-image --version ${{ matrix.version.major }} --type ${{ matrix.type.name }} ${VARIANTS}"
|
export CMD="build-image --version ${{ matrix.version.major }} --type ${{ matrix.type.name }} ${VARIANT_ARGS}"
|
||||||
sudo podman run --rm --privileged --security-opt label=disable --device fuse \
|
sudo podman run --rm --privileged --security-opt label=disable --device fuse \
|
||||||
-v /var/run/libvirt:/var/run/libvirt:rw -v /var/lib/imagefactory:/var/lib/imagefactory:rw \
|
-v /var/run/libvirt:/var/run/libvirt:rw -v /var/lib/imagefactory:/var/lib/imagefactory:rw \
|
||||||
$CMD
|
$CMD
|
||||||
|
Loading…
Reference in New Issue
Block a user