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 13
13
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
14
14
with :
15
15
fetch-depth : ' 0'
16
- fetch-tags : true
17
16
18
17
- name : Set env variables
19
18
run : |
74
73
IMAGE_RELEASE=$(echo ${IMAGE_INFO} | jq -r '.Labels.build_version' | awk '{print $3}')
75
74
IMAGE_VERSION=$(echo ${IMAGE_RELEASE} | awk -F'-nbxyz' '{print $1}')
76
75
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})
78
77
if [ -z "${MULTIDIGEST}" ] || [ "${MULTIDIGEST}" == "null" ]; then
79
78
echo "**** No existing container build found, assuming first build ****"
80
79
VERSION_TAG=${WEBAPP_RELEASE}-nbxyz1
You can’t perform that action at this time.
0 commit comments