build: removes arm32v6 docker image.

This commit is contained in:
Leonard Gram 2019-01-22 11:44:02 +01:00
parent 39fa0aec5d
commit caa9a90bfd
2 changed files with 0 additions and 4 deletions

View File

@ -32,13 +32,11 @@ docker_tag_all () {
repo=$1
tag=$2
docker tag "${_docker_repo}:${_grafana_version}" "${repo}:${tag}"
docker tag "${_docker_repo}-arm32v6-linux:${_grafana_version}" "${repo}-arm32v6-linux:${tag}"
docker tag "${_docker_repo}-arm32v7-linux:${_grafana_version}" "${repo}-arm32v7-linux:${tag}"
docker tag "${_docker_repo}-arm64v8-linux:${_grafana_version}" "${repo}-arm64v8-linux:${tag}"
}
docker_build "debian:stretch-slim" "grafana-latest.linux-x64.tar.gz" "${_docker_repo}:${_grafana_version}"
docker_build "arm32v6/debian:stretch-slim" "grafana-latest.linux-armv6.tar.gz" "${_docker_repo}-arm32v6-linux:${_grafana_version}"
docker_build "arm32v7/debian:stretch-slim" "grafana-latest.linux-armv7.tar.gz" "${_docker_repo}-arm32v7-linux:${_grafana_version}"
docker_build "arm64v8/debian:stretch-slim" "grafana-latest.linux-arm64.tar.gz" "${_docker_repo}-arm64v8-linux:${_grafana_version}"

View File

@ -22,14 +22,12 @@ docker_push_all () {
# Push each image individually
docker push "${repo}:${tag}"
docker push "${repo}-arm32v6-linux:${tag}"
docker push "${repo}-arm32v7-linux:${tag}"
docker push "${repo}-arm64v8-linux:${tag}"
# Create and push a multi-arch manifest
docker manifest create "${repo}:${tag}" \
"${repo}:${tag}" \
"${repo}-arm32v6-linux:${tag}" \
"${repo}-arm32v7-linux:${tag}" \
"${repo}-arm64v8-linux:${tag}"