Loading templates/gitlab-ci-docker.yml +1 −1 Original line number Diff line number Diff line Loading @@ -670,7 +670,7 @@ docker-publish: fi skopeo copy --src-authfile /skopeo/.docker/src-config.json --dest-authfile /skopeo/.docker/dest-config.json ${DOCKER_PUBLISH_ARGS} docker://$DOCKER_SNAPSHOT_IMAGE docker://$DOCKER_RELEASE_IMAGE log_info "Well done your image is published and can be downloaded by doing: docker pull $DOCKER_RELEASE_IMAGE" - docker_digest=$(skopeo inspect --format='{{ .Digest }}' "docker://$DOCKER_RELEASE_IMAGE") - docker_digest=$(skopeo inspect --authfile /skopeo/.docker/dest-config.json --format='{{ .Digest }}' "docker://$DOCKER_RELEASE_IMAGE") - docker_repository=${DOCKER_RELEASE_IMAGE%%:*} - docker_tag=${DOCKER_RELEASE_IMAGE#*:} - echo "docker_image=$DOCKER_RELEASE_IMAGE" > docker.env Loading Loading
templates/gitlab-ci-docker.yml +1 −1 Original line number Diff line number Diff line Loading @@ -670,7 +670,7 @@ docker-publish: fi skopeo copy --src-authfile /skopeo/.docker/src-config.json --dest-authfile /skopeo/.docker/dest-config.json ${DOCKER_PUBLISH_ARGS} docker://$DOCKER_SNAPSHOT_IMAGE docker://$DOCKER_RELEASE_IMAGE log_info "Well done your image is published and can be downloaded by doing: docker pull $DOCKER_RELEASE_IMAGE" - docker_digest=$(skopeo inspect --format='{{ .Digest }}' "docker://$DOCKER_RELEASE_IMAGE") - docker_digest=$(skopeo inspect --authfile /skopeo/.docker/dest-config.json --format='{{ .Digest }}' "docker://$DOCKER_RELEASE_IMAGE") - docker_repository=${DOCKER_RELEASE_IMAGE%%:*} - docker_tag=${DOCKER_RELEASE_IMAGE#*:} - echo "docker_image=$DOCKER_RELEASE_IMAGE" > docker.env Loading