mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-04-20 23:36:29 -04:00
update apko image building path
This commit is contained in:
parent
b75a727646
commit
89cdb56183
@ -4,8 +4,6 @@ inputs:
|
||||
name:
|
||||
description: "Name of the micro-service"
|
||||
required: true
|
||||
default: "."
|
||||
required: false
|
||||
koConfig:
|
||||
description: "Path to the .ko.yaml config file"
|
||||
default: ".ko.yaml"
|
||||
|
7
.github/workflows/build-apko-image.yml
vendored
7
.github/workflows/build-apko-image.yml
vendored
@ -2,6 +2,13 @@ name: Build and upload all apko container images
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- "release/**"
|
||||
- "feat/reproducible-builds-ko"
|
||||
paths:
|
||||
- "image/apko/*.yaml"
|
||||
|
||||
jobs:
|
||||
build-apko-image:
|
||||
|
@ -47,8 +47,9 @@ jobs:
|
||||
koData="./guest-agent/kodata"
|
||||
mkdir -p $koData
|
||||
cp ./constellation/3rdparty/gcp-guest-agent/instance_configs.cfg $koData
|
||||
cd ..
|
||||
ls ${{ github.workspace }}/constellation/.github/actions/build_micro_service_ko
|
||||
cd ${{ github.workspace }}/
|
||||
ls -lah
|
||||
ln -s ./constellation/.github/ .github
|
||||
|
||||
- name: Build and upload gcp guest service container image
|
||||
id: build-and-upload
|
||||
@ -56,7 +57,6 @@ jobs:
|
||||
uses: ./.github/actions/build_micro_service_ko
|
||||
with:
|
||||
name: gcp-guest-agent
|
||||
constellationPath: ${{ github.workspace }}/constellation
|
||||
koTarget: ./guest-agent/google-guest-agent/
|
||||
githubToken: ${{ secrets.GITHUB_TOKEN }}
|
||||
cosignPublicKey: ${{ startsWith(github.ref, 'refs/heads/release/v') && secrets.COSIGN_PUBLIC_KEY || secrets.COSIGN_DEV_PUBLIC_KEY }}
|
||||
|
@ -5,6 +5,7 @@ contents:
|
||||
packages:
|
||||
- alpine-base
|
||||
- libvirt-dev
|
||||
- bash
|
||||
environment:
|
||||
PATH: /usr/sbin:/sbin:/usr/bin:/bin
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user