Skip to content

Commit

Permalink
refact(build): run only amd64 and arm64 builds
Browse files Browse the repository at this point in the history
Signed-off-by: shubham <[email protected]>
  • Loading branch information
shubham14bajpai authored and kmova committed Nov 11, 2020
1 parent 31481b3 commit ac17651
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile.buildx.mk
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ endif

# default list of platforms for which multiarch image is built
ifeq (${PLATFORMS}, )
export PLATFORMS="linux/amd64,linux/arm64,linux/ppc64le"
export PLATFORMS="linux/amd64,linux/arm64"
endif

# if IMG_RESULT is unspecified, by default the image will be pushed to registry
Expand Down
4 changes: 2 additions & 2 deletions build/exporter/exporter.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ ENV GO111MODULE=on \
DEBIAN_FRONTEND=noninteractive \
PATH="/root/go/bin:${PATH}"

WORKDIR /go/src/github.com/openebs/openebs-exporter
WORKDIR /go/src/github.com/openebs/m-exporter

RUN apt-get update && apt-get install -y make git

Expand All @@ -54,7 +54,7 @@ LABEL org.label-schema.vcs-url=$DBUILD_REPO_URL
LABEL org.label-schema.url=$DBUILD_SITE_URL

# copy the latest binary
COPY --from=build /go/src/github.com/openebs/openebs-exporter/bin/exporter/exporter /usr/local/bin/maya-exporter
COPY --from=build /go/src/github.com/openebs/m-exporter/bin/exporter/exporter /usr/local/bin/maya-exporter

CMD maya-exporter
EXPOSE 9500

0 comments on commit ac17651

Please sign in to comment.