mirror of
https://github.com/elgohr/Publish-Docker-Github-Action.git
synced 2026-03-12 18:07:12 -04:00
Populate digest after push. Refactor tests to use contains for checking
This commit is contained in:
@@ -43,7 +43,9 @@ function main() {
|
||||
else
|
||||
pushWithoutSnapshot
|
||||
fi
|
||||
echo ::set-output name=tag::"${TAG}"
|
||||
echo "::set-output name=tag::${TAG}"
|
||||
DIGEST=$(docker inspect --format='{{index .RepoDigests 0}}' ${DOCKERNAME})
|
||||
echo "::set-output name=digest::${DIGEST}"
|
||||
|
||||
docker logout
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user