File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 1313 uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
1414 with :
1515 fetch-depth : ' 0'
16- fetch-tags : true
1716
1817 - name : Set env variables
1918 run : |
7473 IMAGE_RELEASE=$(echo ${IMAGE_INFO} | jq -r '.Labels.build_version' | awk '{print $3}')
7574 IMAGE_VERSION=$(echo ${IMAGE_RELEASE} | awk -F'-nbxyz' '{print $1}')
7675 NB_RELEASE_NUMBER=$(echo ${IMAGE_RELEASE} | awk -F'-nbxyz' '{print $2}')
77- TAG_SHA=$(git rev-list -n 1 ${IMAGE_RELEASE} 2>/dev/null || echo "" )
76+ TAG_SHA=$(git rev-list -n 1 ${IMAGE_RELEASE})
7877 if [ -z "${MULTIDIGEST}" ] || [ "${MULTIDIGEST}" == "null" ]; then
7978 echo "**** No existing container build found, assuming first build ****"
8079 VERSION_TAG=${WEBAPP_RELEASE}-nbxyz1
You can’t perform that action at this time.
0 commit comments