Skip to content

Commit

Permalink
Build binaries and container images for ppc64le
Browse files Browse the repository at this point in the history
  • Loading branch information
kishen-v committed Jul 30, 2024
1 parent 12a0add commit 50909d9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
uses: docker/build-push-action@v5
with:
context: .
platforms: linux/amd64,linux/arm64,linux/s390x
platforms: linux/amd64,linux/arm64,linux/ppc64le,linux/s390x
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
8 changes: 8 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ builds:
- amd64
- arm
- arm64
- ppc64le
- s390x
main: ./cmd/cfssl
ldflags:
Expand Down Expand Up @@ -63,6 +64,7 @@ builds:
- amd64
- arm
- arm64
- ppc64le
- s390x
main: ./cmd/cfssl-bundle
ldflags:
Expand Down Expand Up @@ -100,6 +102,7 @@ builds:
- amd64
- arm
- arm64
- ppc64le
- s390x
main: ./cmd/cfssl-certinfo
ldflags:
Expand Down Expand Up @@ -137,6 +140,7 @@ builds:
- amd64
- arm
- arm64
- ppc64le
- s390x
main: ./cmd/cfssl-newkey
ldflags:
Expand Down Expand Up @@ -174,6 +178,7 @@ builds:
- amd64
- arm
- arm64
- ppc64le
- s390x
main: ./cmd/cfssl-scan
ldflags:
Expand Down Expand Up @@ -211,6 +216,7 @@ builds:
- amd64
- arm
- arm64
- ppc64le
- s390x
main: ./cmd/cfssljson
ldflags:
Expand Down Expand Up @@ -248,6 +254,7 @@ builds:
- amd64
- arm
- arm64
- ppc64le
- s390x
main: ./cmd/mkbundle
ldflags:
Expand Down Expand Up @@ -285,6 +292,7 @@ builds:
- amd64
- arm
- arm64
- ppc64le
- s390x
main: ./cmd/multirootca
ldflags:
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ ARG TARGETPLATFORM
ARG BUILDPLATFORM
RUN echo "I am running on $BUILDPLATFORM, building for $TARGETPLATFORM"

LABEL org.opencontainers.image.source https://github.com/cloudflare/cfssl
LABEL org.opencontainers.image.description "Cloudflare's PKI toolkit"
LABEL org.opencontainers.image.source=https://github.com/cloudflare/cfssl
LABEL org.opencontainers.image.description="Cloudflare's PKI toolkit"

ARG TARGETOS
ARG TARGETARCH
Expand Down

0 comments on commit 50909d9

Please sign in to comment.