Skip to content

Commit

Permalink
automation/balena-deploy: Pin to known working version of balena-img
Browse files Browse the repository at this point in the history
  • Loading branch information
acostach committed Dec 22, 2023
1 parent 84d8d39 commit 2668e2c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions automation/include/balena-deploy.inc
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ balena_deploy_to_s3() {

local _s3_cmd="s4cmd --access-key=${_s3_access_key} --secret-key=${_s3_secret_key}"
local _s3_sync_opts="--recursive --API-ACL=${_s3_policy}"
docker pull "${_namespace}/balena-img:4.1.2"
docker pull "${_namespace}/balena-img:6.21.1"
docker run --rm -t \
-e BASE_DIR=/host/images \
-e S3_CMD="$_s3_cmd" \
Expand All @@ -222,7 +222,7 @@ balena_deploy_to_s3() {
-e VERBOSE="${VERBOSE}" \
-e DEPLOYER_UID="$(id -u)" \
-e DEPLOYER_GID="$(id -g)" \
-v "$_s3_deploy_dir":/host/images "${_namespace}"/balena-img:master /bin/sh -e -c ' \
-v "$_s3_deploy_dir":/host/images "${_namespace}"/balena-img:6.21.1 /bin/sh -e -c ' \
VERBOSE=${VERBOSE:-0}
[ "${VERBOSE}" = "verbose" ] && set -x
apt-get -y update
Expand Down

0 comments on commit 2668e2c

Please sign in to comment.