mirror of
https://github.com/prometheus/prometheus.git
synced 2026-04-18 20:21:05 +02:00
Fix dockerignore sync (#18488)
Add `.dockerignore` to the always sync file list. * Sort container archs. Signed-off-by: SuperQ <superq@gmail.com>
This commit is contained in:
parent
72293ff1d2
commit
c30b596c1f
@ -3,8 +3,8 @@ data/
|
||||
.tarballs/
|
||||
|
||||
!.build/linux-amd64/
|
||||
!.build/linux-armv7/
|
||||
!.build/linux-arm64/
|
||||
!.build/linux-armv7/
|
||||
!.build/linux-ppc64le/
|
||||
!.build/linux-s390x/
|
||||
!.build/linux-riscv64/
|
||||
!.build/linux-s390x/
|
||||
|
||||
@ -90,7 +90,7 @@ ifdef DOCKERFILE_PATH
|
||||
$(error DOCKERFILE_PATH is deprecated. Use DOCKERFILE_VARIANTS ?= $(DOCKERFILE_PATH) in the Makefile)
|
||||
endif
|
||||
|
||||
DOCKER_ARCHS ?= amd64 armv7 arm64 ppc64le riscv64 s390x
|
||||
DOCKER_ARCHS ?= amd64 arm64 armv7 ppc64le riscv64 s390x
|
||||
DOCKERFILE_ARCH_EXCLUSIONS ?=
|
||||
DOCKER_REGISTRY_ARCH_EXCLUSIONS ?= quay.io:riscv64
|
||||
DOCKERFILE_VARIANTS ?= $(wildcard Dockerfile Dockerfile.*)
|
||||
|
||||
@ -166,7 +166,7 @@ process_repo() {
|
||||
if [[ -z "${target_file}" ]]; then
|
||||
repo_log "${target_filename} doesn't exist in ${org_repo}"
|
||||
case "${source_file}" in
|
||||
CODE_OF_CONDUCT.md | SECURITY.md | .github/workflows/container_description.yml)
|
||||
CODE_OF_CONDUCT.md | SECURITY.md | .dockerignore | .github/workflows/container_description.yml)
|
||||
repo_log_yellow "${source_file} missing in ${org_repo}, force updating."
|
||||
needs_update+=("${source_file}")
|
||||
;;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user