Skip to content

Commit

Permalink
Testing multiple platform build
Browse files Browse the repository at this point in the history
  • Loading branch information
Lewis Kendeh committed Apr 16, 2024
1 parent 76f4d17 commit f94b9b6
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,11 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
platforms: linux/amd64,linux/arm64

- name: Build image and push GitHub Container Registry
uses: docker/build-push-action@v2
with:
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/internal-release-candidate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.RELEASE_GITHUB_TOKEN }}

- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
platforms: linux/amd64,linux/arm64

- name: Build image and push GitHub Container Registry
uses: docker/build-push-action@v2
with:
Expand All @@ -59,10 +64,6 @@ jobs:
push: true


- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2

- name: Checkout SolaceDev/maas-build-actions
uses: actions/checkout@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN go get -d -v ./... \
-ldflags '-s -w -extldflags "-static"' \
-o /bin/solace_prometheus_exporter

FROM alpine:3.19.0
FROM registry.access.redhat.com/ubi9/ubi-minimal:latest

LABEL name="solace/pubsubplus-prometheus-exporter"
LABEL vendor="Solace Corporation"
Expand Down

0 comments on commit f94b9b6

Please sign in to comment.