Skip to content

Commit

Permalink
fix makefiel
Browse files Browse the repository at this point in the history
  • Loading branch information
amittiwari28 committed Feb 4, 2025
1 parent 57f6a78 commit d0f4f98
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -319,10 +319,9 @@ docker-buildx-builder:
reports-server-fips: fmt vet
GOOS=linux GOARCH=amd64 CGO_ENABLED=$(CGO_ENABLED) go build ./ -o $(PWD)/$(REPO_REPORTS_SERVER_FIPS) -tags "$(BUILD_TAGS)" -ldflags="$(LD_FLAGS)" $(PWD)/

# Build both architectures separately
docker-build-and-push-reports-server-fips: docker-build-and-push-reports-server-fips-amd64 docker-build-and-push-reports-server-fips-arm64
docker-publish-reports-server-fips: docker-buildx-builder docker-build-and-push-reports-server-fips

d# Build and push FIPS-compliant reports-server for AMD64
# Build and push FIPS-compliant reports-server for AMD64
docker-build-and-push-reports-server-fips-amd64: docker-buildx-builder
@docker buildx build --file $(PWD)/Dockerfile.fips \
--progress plain \
Expand All @@ -342,6 +341,9 @@ docker-build-and-push-reports-server-fips-arm64: docker-buildx-builder
--build-arg LD_FLAGS=$(LD_FLAGS) \
--push

# Build both architectures separately
docker-build-and-push-reports-server-fips: docker-build-and-push-reports-server-fips-amd64 docker-build-and-push-reports-server-fips-arm64


docker-get-reports-server-digest:
@docker buildx imagetools inspect --raw $(REPO_REPORTS_SERVER_FIPS):$(IMAGE_TAG) | perl -pe 'chomp if eof' | openssl dgst -sha256 | sed 's/^.* //'

0 comments on commit d0f4f98

Please # to comment.