fixes
This commit is contained in:
@@ -42,6 +42,7 @@ pre_push:
|
||||
echo "Healthcheck failed, stopping push"
|
||||
exit 1
|
||||
fi
|
||||
after_script:
|
||||
- docker rm -f test_container
|
||||
only:
|
||||
- main
|
||||
@@ -50,6 +51,8 @@ push:
|
||||
needs:
|
||||
- pre_push
|
||||
stage: push
|
||||
before_script:
|
||||
- apk add curl
|
||||
script:
|
||||
- |
|
||||
CURRENT_IMAGE_HASH=$(docker inspect --format='{{if .RepoDigests}}{{index .RepoDigests 0}}{{else}}no_digest{{end}}' $CI_REGISTRY/$CI_PROJECT_PATH:$CI_COMMIT_REF_SLUG)
|
||||
|
||||
Reference in New Issue
Block a user