mirror of
https://github.com/edgelesssys/constellation.git
synced 2024-12-25 15:39:37 -05:00
Remove "debug" from gcp image name.
Debug already is part of the family name.
This commit is contained in:
parent
bf5816cc00
commit
6ef0f5d06b
10
.github/workflows/build-coreos.yml
vendored
10
.github/workflows/build-coreos.yml
vendored
@ -3,18 +3,18 @@ on:
|
|||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
coreOSConfigBranch:
|
coreOSConfigBranch:
|
||||||
description: 'Branch of CoreOS config repo to build from'
|
description: "Branch of CoreOS config repo to build from"
|
||||||
default: 'constellation'
|
default: "constellation"
|
||||||
required: false
|
required: false
|
||||||
debug:
|
debug:
|
||||||
description: 'Build debug image'
|
description: "Build debug image"
|
||||||
type: boolean
|
type: boolean
|
||||||
default: false
|
default: false
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-coreos-image:
|
build-coreos-image:
|
||||||
name: 'Build CoreOS using customized COSA'
|
name: "Build CoreOS using customized COSA"
|
||||||
runs-on: [self-hosted, linux, nested-virt]
|
runs-on: [self-hosted, linux, nested-virt]
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
@ -99,7 +99,7 @@ jobs:
|
|||||||
echo "azureImageVersion=${semver:1}" >> $GITHUB_ENV
|
echo "azureImageVersion=${semver:1}" >> $GITHUB_ENV
|
||||||
elif [ "${{ ((github.ref == 'refs/heads/main') || startsWith(github.ref, 'refs/heads/release/')) && (inputs.debug == true) }}" = true ]
|
elif [ "${{ ((github.ref == 'refs/heads/main') || startsWith(github.ref, 'refs/heads/release/')) && (inputs.debug == true) }}" = true ]
|
||||||
then
|
then
|
||||||
echo "gcpImageName=constellation-debug-${{ steps.version.outputs.timestamp }}" >> $GITHUB_ENV
|
echo "gcpImageName=constellation-${{ steps.version.outputs.timestamp }}" >> $GITHUB_ENV
|
||||||
echo "gcpImageFamily=constellation-debug-${semver//./-}" >> $GITHUB_ENV
|
echo "gcpImageFamily=constellation-debug-${semver//./-}" >> $GITHUB_ENV
|
||||||
echo "azureGalleryName=Constellation_Debug" >> $GITHUB_ENV
|
echo "azureGalleryName=Constellation_Debug" >> $GITHUB_ENV
|
||||||
echo "azureImageDefinition=${semver}" >> $GITHUB_ENV
|
echo "azureImageDefinition=${semver}" >> $GITHUB_ENV
|
||||||
|
Loading…
Reference in New Issue
Block a user