Skip to content

Commit

Permalink
Ignore errors from apt-get update in push-dockerimage script (#2717)
Browse files Browse the repository at this point in the history
The script currently runs in an environment based on ubuntu 14.04, which seems
unable to talk to get.docker.io nowadays (see #2716).
  • Loading branch information
jcristau committed Nov 23, 2022
1 parent 7a45857 commit 3ccb4d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion agent/scripts/push-dockerimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ fi
commit=$(git rev-parse HEAD)
version=$(cat version.txt)

apt-get update && apt-get -y install jq
apt-get update || :
apt-get -y install jq

cat > version.json <<EOF
{
Expand Down
3 changes: 2 additions & 1 deletion scripts/push-dockerimage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ fi
commit=$(git rev-parse HEAD)
version=$(cat version.txt)

apt-get update && apt-get -y install jq
apt-get update || :
apt-get -y install jq

cat > version.json <<EOF
{
Expand Down

0 comments on commit 3ccb4d4

Please sign in to comment.