Skip to content

Commit

Permalink
Fix container and manifest targets in makefile
Browse files Browse the repository at this point in the history
Signed-off-by: Raul Sevilla <[email protected]>
  • Loading branch information
rsevilla87 committed Mar 1, 2024
1 parent f29a9f9 commit 7997ad0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ CGO = 0
RHEL_VERSION = ubi9
CONTAINER ?= podman
CONTAINER_BUILD ?= podman build --force-rm
CONTAINER_NS ?= quay.io/cloud-bulldozer/netperf
CONTAINER_NS ?= quay.io/cloud-bulldozer
SOURCES := $(shell find . -type f -name "*.go")

# k8s-netperf version
Expand All @@ -38,13 +38,13 @@ container-build: build
@echo "Building the container image"
$(CONTAINER_BUILD) -f containers/Containerfile \
--build-arg RHEL_VERSION=$(RHEL_VERSION) \
-t $(CONTAINER_NS)/$(BIN) ./containers
-t $(CONTAINER_NS)/$(BIN):latest ./containers

gha-build: build
gha-build:
@echo "Building the container image for GHA"
$(CONTAINER_BUILD) -f containers/Containerfile \
--build-arg RHEL_VERSION=$(RHEL_VERSION) --platform=linux/amd64,linux/arm64,linux/ppc64le,linux/s390x \
-t $(CONTAINER_NS) ./containers --manifest=$(CONTAINER_NS)-manifest:latest
./containers --manifest=$(CONTAINER_NS)/${BIN}:latest

gha-push:
@echo "Pushing Container Images & manifest"
Expand Down

0 comments on commit 7997ad0

Please sign in to comment.