Skip to content

Commit

Permalink
Add fallback for timeout on read.
Browse files Browse the repository at this point in the history
  • Loading branch information
nhumble-sa committed Jan 16, 2024
1 parent ce5c532 commit a1cd46a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker_push.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ set -e
VERSION="$(git describe --tags --match 'v*')" # Get version tag from git
VERSION=${VERSION#v} # Remove leading 'v'

read -p "This action will build and publish docker image version $VERSION (this will automatically proceed in 15 seconds)" -t 15
read -p "This action will build and publish docker image version $VERSION (this will automatically proceed in 15 seconds)" -t 15 || true

docker buildx build --sbom=false --provenance=false --platform linux/amd64,linux/arm64/v8 --push -t 064061306967.dkr.ecr.us-west-2.amazonaws.com/acceptto/local-reverse-geocoder:$VERSION .

0 comments on commit a1cd46a

Please sign in to comment.