Skip to content

Commit 903cf13

Browse files
committed
first commit
Signed-off-by: Jason Cho <[email protected]>
1 parent dcd151a commit 903cf13

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

Makefile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
# This project applies to ppc64le only
22
ARCH ?= ppc64le
33

4-
REGISTRY ?= quay.io/powercloud
4+
REGISTRY ?= quay.io/jcho0
55
REPOSITORY ?= power-dra-driver
6-
TAG ?= main
6+
TAG ?= first-test
77

88
CONTAINER_RUNTIME ?= $(shell command -v podman 2> /dev/null || echo docker)
99

1010
########################################################################
1111
# Go Targets
1212

13-
.PHONY: build
14-
build: fmt vet
15-
GOOS=linux GOARCH=$(ARCH) go build -o bin/power-dra-driver cmd/power-dra-driver/main.go
13+
#.PHONY: build
14+
#build: fmt vet
15+
# GOOS=linux GOARCH=$(ARCH) go build -o bin/power-dra-driver cmd/power-dra-driver/main.go
1616

1717
.PHONY: fmt
1818
fmt:
@@ -34,7 +34,7 @@ clean:
3434
image: build
3535
$(CONTAINER_RUNTIME) buildx build \
3636
-t $(REGISTRY)/$(REPOSITORY):$(TAG) \
37-
--platform linux/$(ARCH) -f build/Containerfile-build .
37+
--platform linux/$(ARCH) -f Dockerfile .
3838

3939
.PHONY: push
4040
push:
@@ -50,4 +50,4 @@ dep-plugin:
5050

5151
.PHONY: dep-examples
5252
dep-examples:
53-
kustomize build examples | oc apply -f -
53+
kustomize build examples | oc apply -f -

build/Containerfile-build

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ LABEL description="Automate the management and monitoring of addition of specifi
1111
RUN microdnf -y update && microdnf clean all
1212
WORKDIR /
1313

14-
COPY ./build/entrypoint.sh /
15-
COPY bin/* /opt/power-dev-plugin/bin/
14+
COPY ./entrypoint.sh /
15+
COPY bin/ /opt/power-dev-plugin/bin/
1616

17-
ENTRYPOINT ["/entrypoint.sh"]
17+
ENTRYPOINT ["/entrypoint.sh"]

0 commit comments

Comments
 (0)