Skip to content

Commit

Permalink
build(docker): #246 Check git status before build
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexAxthelm committed Feb 27, 2024
1 parent a088702 commit 5d10285
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions build/build_private_docker.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
#! /bin/sh

# This script uses hardcoded parameters to define the versions for pacta data
# and templates.transition.monitor. make changes to this script and commit
# prior to running, so that the SHA tag that is pushed to registry is capable
# of tracking the inputs.
if [ -z "$(git status --porcelain)" ]; then
echo "Git status is clean. Proceeding."
else
echo "Commit changes to this script prior to running."
exit 1
fi

#requires being logged in to az
az acr login --name transitionmonitordockerregistry

Expand Down

0 comments on commit 5d10285

Please sign in to comment.