mirror of
https://github.com/kairos-io/kairos.git
synced 2025-02-09 05:18:51 +00:00
Missing dollar sign 🤦
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
This commit is contained in:
parent
c891fda8bd
commit
a832a68f93
2
.github/workflows/release-arm.yaml
vendored
2
.github/workflows/release-arm.yaml
vendored
@ -441,7 +441,7 @@ jobs:
|
||||
run: echo ${{ secrets.QUAY_PASSWORD }} | docker login -u ${{ secrets.QUAY_USERNAME }} --password-stdin quay.io
|
||||
- name: Build iso 🔧
|
||||
run: |
|
||||
INIT=[[ "{{ matrix.flavor }}" == "alpine" ]] && echo "openrc" || echo "systemd"
|
||||
INIT=[[ "${{ matrix.flavor }}" == "alpine" ]] && echo "openrc" || echo "systemd"
|
||||
K3S_VERSION=$(sudo luet --config framework-profile.yaml search -o json k8s/k3s | jq --arg INIT "$INIT" '.packages | map(select(.name == "k3s-" + $INIT)) | map(.version) | unique | last' | tr -d '"')
|
||||
earthly -P +all-arm-generic \
|
||||
--FLAVOR=${{ matrix.flavor }} \
|
||||
|
@ -87,7 +87,7 @@ jobs:
|
||||
if: ${{ github.event_name == 'pull_request' }}
|
||||
run: |
|
||||
earthly --platform=linux/${{ inputs.arch }} +extract-framework-profile
|
||||
INIT=[[ "{{ inputs.flavor }}" == "alpine" ]] && echo "openrc" || echo "systemd"
|
||||
INIT=[[ "${{ inputs.flavor }}" == "alpine" ]] && echo "openrc" || echo "systemd"
|
||||
K3S_VERSION=$(sudo luet --config framework-profile.yaml search -o json k8s/k3s | jq --arg INIT "$INIT" '.packages | map(select(.name == "k3s-" + $INIT)) | map(.version) | unique | last' | tr -d '"')
|
||||
earthly --platform=linux/${{ inputs.arch }} +ci \
|
||||
--SECURITY_SCANS=false \
|
||||
@ -110,7 +110,7 @@ jobs:
|
||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
|
||||
run: |
|
||||
earthly --platform=linux/${{ inputs.arch }} +extract-framework-profile
|
||||
INIT=[[ "{{ inputs.flavor }}" == "alpine" ]] && echo "openrc" || echo "systemd"
|
||||
INIT=[[ "${{ inputs.flavor }}" == "alpine" ]] && echo "openrc" || echo "systemd"
|
||||
K3S_VERSION=$(sudo luet --config framework-profile.yaml search -o json k8s/k3s | jq --arg INIT "$INIT" '.packages | map(select(.name == "k3s-" + $INIT)) | map(.version) | unique | last' | tr -d '"')
|
||||
earthly --platform=linux/${{ inputs.arch }} +ci \
|
||||
--SECURITY_SCANS=true \
|
||||
@ -142,7 +142,7 @@ jobs:
|
||||
env:
|
||||
COSIGN_YES: true
|
||||
run: |
|
||||
INIT=[[ "{{ inputs.flavor }}" == "alpine" ]] && echo "openrc" || echo "systemd"
|
||||
INIT=[[ "${{ inputs.flavor }}" == "alpine" ]] && echo "openrc" || echo "systemd"
|
||||
K3S_VERSION=$(sudo luet --config framework-profile.yaml search -o json k8s/k3s | jq --arg INIT "$INIT" '.packages | map(select(.name == "k3s-" + $INIT)) | map(.version) | unique | last' | tr -d '"')
|
||||
IMAGE=$(FLAVOR=${{ inputs.flavor }} FLAVOR_RELEASE="${{ inputs.flavor_release }}" MODEL=${{ inputs.model }} TARGETARCH=${{ inputs.arch }} VARIANT=${{ inputs.variant}} REGISTRY_AND_ORG="quay.io/kairos" RELEASE=master-k3sv${K3S_VERSION%%+*}-k3s1 kairos-agent versioneer container-artifact-name)
|
||||
docker tag $(cat IMAGE) $IMAGE
|
||||
|
Loading…
Reference in New Issue
Block a user