mirror of
https://github.com/grafana/grafana.git
synced 2024-11-23 01:16:31 -06:00
build: removes arm32v6 docker image.
This commit is contained in:
parent
39fa0aec5d
commit
caa9a90bfd
@ -32,13 +32,11 @@ docker_tag_all () {
|
|||||||
repo=$1
|
repo=$1
|
||||||
tag=$2
|
tag=$2
|
||||||
docker tag "${_docker_repo}:${_grafana_version}" "${repo}:${tag}"
|
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}-arm32v7-linux:${_grafana_version}" "${repo}-arm32v7-linux:${tag}"
|
||||||
docker tag "${_docker_repo}-arm64v8-linux:${_grafana_version}" "${repo}-arm64v8-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 "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 "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}"
|
docker_build "arm64v8/debian:stretch-slim" "grafana-latest.linux-arm64.tar.gz" "${_docker_repo}-arm64v8-linux:${_grafana_version}"
|
||||||
|
|
||||||
|
@ -22,14 +22,12 @@ docker_push_all () {
|
|||||||
|
|
||||||
# Push each image individually
|
# Push each image individually
|
||||||
docker push "${repo}:${tag}"
|
docker push "${repo}:${tag}"
|
||||||
docker push "${repo}-arm32v6-linux:${tag}"
|
|
||||||
docker push "${repo}-arm32v7-linux:${tag}"
|
docker push "${repo}-arm32v7-linux:${tag}"
|
||||||
docker push "${repo}-arm64v8-linux:${tag}"
|
docker push "${repo}-arm64v8-linux:${tag}"
|
||||||
|
|
||||||
# Create and push a multi-arch manifest
|
# Create and push a multi-arch manifest
|
||||||
docker manifest create "${repo}:${tag}" \
|
docker manifest create "${repo}:${tag}" \
|
||||||
"${repo}:${tag}" \
|
"${repo}:${tag}" \
|
||||||
"${repo}-arm32v6-linux:${tag}" \
|
|
||||||
"${repo}-arm32v7-linux:${tag}" \
|
"${repo}-arm32v7-linux:${tag}" \
|
||||||
"${repo}-arm64v8-linux:${tag}"
|
"${repo}-arm64v8-linux:${tag}"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user