Skip to content

Commit 3e52f90

Browse files
Fix fleet-server FIPS standalone image name
1 parent 0267fe6 commit 3e52f90

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Makefile

+2-5
Original file line numberDiff line numberDiff line change
@@ -51,22 +51,18 @@ else
5151
VERSION=${DEFAULT_VERSION}
5252
endif
5353

54+
DOCKER_IMAGE?=docker.elastic.co/fleet-server/fleet-server
5455
DOCKER_PLATFORMS ?= linux/amd64 linux/arm64
5556
# defing the docker image tag used for stand-alone fleet-server images
5657
# only want to define the tag if none is specified, this allows an invocation like
5758
# FIPS=true make test-e2e
5859
# to use a tag like X.Y.Z-fips and not X.Y.Z-fips-fips as the test-e2e target calls into make
59-
# TODO: We should change FIPS stand-alone/e2e images to use fleet-server-fips:TAG instead of fleet-server:TAG-fips
6060
ifndef DOCKER_IMAGE_TAG
6161
DOCKER_IMAGE_TAG?=${VERSION}
6262
ifeq "${DEV}" "true"
6363
DOCKER_IMAGE_TAG:=${DOCKER_IMAGE_TAG}-dev
6464
endif
65-
ifeq "${FIPS}" "true"
66-
DOCKER_IMAGE_TAG:=${DOCKER_IMAGE_TAG}-fips
67-
endif
6865
endif
69-
DOCKER_IMAGE?=docker.elastic.co/fleet-server/fleet-server
7066

7167
PLATFORM_TARGETS=$(addprefix release-, $(PLATFORMS))
7268
COVER_TARGETS=$(addprefix cover-, $(PLATFORMS))
@@ -95,6 +91,7 @@ GOFIPSEXPERIMENT?=
9591
FIPSSUFFIX=
9692
ifeq "${FIPS}" "true"
9793
BUILDER_IMAGE=fleet-server-fips-builder:${GO_VERSION}
94+
DOCKER_IMAGE:=docker.elastic.co/fleet-server/fleet-server-fips
9895
STANDALONE_DOCKERFILE=Dockerfile.fips
9996
PLATFORMS = linux/amd64 linux/arm64
10097
gobuildtags += requirefips

0 commit comments

Comments
 (0)