flatcar-scripts/jenkins/release.sh
Dongsu Park 3960ce8036 jenkins: make release.sh publish arm64 for Stable
From flatcar-3033 on, arm64 images are available for Stable channel, we
need to also add arm64 to Stable boards.
2021-12-10 11:31:34 +01:00

22 lines
584 B
Bash
Executable File

#!/bin/bash
set -ex
case "${CHANNEL}" in
*)
boards=( amd64-usr arm64-usr )
;;
esac
for board in "${boards[@]}"
do
bin/plume release \
--debug \
--aws-credentials="${AWS_CREDENTIALS}" \
--azure-profile="${AZURE_CREDENTIALS}" \
--azure-auth="${AZURE_AUTH_CREDENTIALS}" \
--gce-json-key="${GOOGLE_APPLICATION_CREDENTIALS}" \
--gce-release-key="${GOOGLE_RELEASE_CREDENTIALS}" \
--board="${board}" \
--channel="${CHANNEL}" \
--version="${VERSION}"
done