mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-04-20 07:25:51 -04:00
add image defintion for qemu metadata-api
This commit is contained in:
parent
d9b11a9948
commit
b75a727646
@ -4,8 +4,6 @@ inputs:
|
||||
name:
|
||||
description: "Name of the micro-service"
|
||||
required: true
|
||||
constellationPath:
|
||||
description: "Path to the Constellation repository"
|
||||
default: "."
|
||||
required: false
|
||||
koConfig:
|
||||
@ -41,11 +39,11 @@ runs:
|
||||
steps:
|
||||
- name: Determine pseudo version
|
||||
id: pseudo-version
|
||||
uses: ${{ inputs.constellationPath }}/.github/actions/pseudo_version
|
||||
uses: ./.github/actions/pseudo_version
|
||||
|
||||
- name: Build and upload container image
|
||||
id: build-and-upload
|
||||
uses: ${{ inputs.constellationPath }}/.github/actions/build_ko
|
||||
uses: ./.github/actions/build_ko
|
||||
with:
|
||||
name: ${{ inputs.name }}
|
||||
koConfig: ${{ inputs.koConfig }}
|
||||
@ -65,7 +63,7 @@ runs:
|
||||
echo CONTAINER_FULL=$container_full >> $GITHUB_ENV
|
||||
|
||||
- name: Generate SBOM
|
||||
uses: ${{ inputs.constellationPath }}/.github/actions/container_sbom
|
||||
uses: ./.github/actions/container_sbom
|
||||
with:
|
||||
containerReference: ${{ env.CONTAINER_FULL }}
|
||||
cosignPublicKey: ${{ inputs.cosignPublicKey }}
|
||||
|
@ -48,11 +48,12 @@ jobs:
|
||||
mkdir -p $koData
|
||||
cp ./constellation/3rdparty/gcp-guest-agent/instance_configs.cfg $koData
|
||||
cd ..
|
||||
ls ${{ github.workspace }}/constellation/.github/actions/build_micro_service_ko
|
||||
|
||||
- name: Build and upload join service container image
|
||||
- name: Build and upload gcp guest service container image
|
||||
id: build-and-upload
|
||||
# assumes that we are currently in the root of the repo
|
||||
uses: ${{ github.workspace }}/constellation/.github/actions/build-and-upload-ko
|
||||
uses: ./.github/actions/build_micro_service_ko
|
||||
with:
|
||||
name: gcp-guest-agent
|
||||
constellationPath: ${{ github.workspace }}/constellation
|
||||
|
13
image/apko/alpine-qemu-metadata-api.yaml
Normal file
13
image/apko/alpine-qemu-metadata-api.yaml
Normal file
@ -0,0 +1,13 @@
|
||||
contents:
|
||||
repositories:
|
||||
- https://dl-cdn.alpinelinux.org/alpine/edge/main
|
||||
- https://dl-cdn.alpinelinux.org/alpine/edge/community
|
||||
packages:
|
||||
- alpine-base
|
||||
- libvirt-dev
|
||||
environment:
|
||||
PATH: /usr/sbin:/sbin:/usr/bin:/bin
|
||||
|
||||
archs:
|
||||
- amd64
|
||||
- 386
|
Loading…
x
Reference in New Issue
Block a user