Skip to content

Commit

Permalink
Merge pull request #7 from acceptto-corp/ECT-1803-security-updates
Browse files Browse the repository at this point in the history
ECT-1803 Security Updates
  • Loading branch information
nhumble-sa authored Jan 17, 2024
2 parents a367dd7 + a1cd46a commit fa05511
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docker_push.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/bin/bash

VERSION="1.2.5"
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 || 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 fa05511

Please sign in to comment.