Update 'check.sh'
All checks were successful
ci/woodpecker/push/build-dev Pipeline was successful

This commit is contained in:
2023-03-21 10:50:25 +01:00
parent 4daf73bcb8
commit 2fa59436a2

View File

@@ -81,6 +81,7 @@ if [ -n "${DOCKER_USERNAME}" ] && [ -n "${DOCKER_PASSWORD}" ]; then
HEADER="Authorization: JWT ${TOKEN}"
fi
# curl -X 'GET' -H 'accept: application/json' 'https://git.narvas.tech/api/v1/packages/[USER]/container/[REPO]/dev?access_token=[TOKEN]'
# compare the update time of the BASE and TARGET images
BASE_DATE=$(curl -s -H "${HEADER}" "${BASE_URL}" | jq -r .last_updated | sed 's/T/ /' | sed 's/\..*//' )