Skip to content

Commit

Permalink
Merge pull request #52 from equinor/remove-git-commit-it-fetch
Browse files Browse the repository at this point in the history
remove-git-commit-it-fetch
  • Loading branch information
satr committed May 3, 2024
2 parents 835b7f4 + 4498313 commit 4a1c4c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build_acr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,9 @@ if [[ -z "${SP_SECRET}" ]]; then
SP_SECRET=$(cat ${AZURE_CREDENTIALS} | jq -r '.password')
fi

if [[ -n "${RADIX_GIT_COMMIT_HASH}" ]]; then
git --git-dir=/workspace/.git --work-tree=/workspace/ reset --hard $RADIX_GIT_COMMIT_HASH || exit 1
fi
#if [[ -n "${RADIX_GIT_COMMIT_HASH}" ]]; then
# git --git-dir=/workspace/.git --work-tree=/workspace/ reset --hard $RADIX_GIT_COMMIT_HASH || exit 1
#fi

TEMPFILE="$(mktemp -u).sh" # We need a random filename since emptyDir /tmp is mounted to multiple build containers
GetBuildCommand > "$TEMPFILE"
Expand Down

0 comments on commit 4a1c4c2

Please sign in to comment.