Skip to content

Commit

Permalink
Add arm64 container image builds
Browse files Browse the repository at this point in the history
  • Loading branch information
anothertobi committed May 2, 2024
1 parent c7ba06a commit 87b5f00
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
runs-on: ubuntu-latest
needs: imagetag
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
Expand All @@ -30,5 +32,6 @@ jobs:
id: docker_build
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/amazeeio/opensearch:${{ needs.imagetag.outputs.version }}
6 changes: 6 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ jobs:
runs-on: ubuntu-latest
needs: imagetag
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
Expand All @@ -30,12 +32,15 @@ jobs:
id: docker_build
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
tags: ghcr.io/amazeeio/opensearch:pr${{ github.event.pull_request.number }}-${{ needs.imagetag.outputs.version }}
build-push:
runs-on: ubuntu-latest
needs: imagetag
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
Expand All @@ -48,5 +53,6 @@ jobs:
id: docker_build
uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/amazeeio/opensearch:pr${{ github.event.pull_request.number }}-${{ needs.imagetag.outputs.version }}

0 comments on commit 87b5f00

Please sign in to comment.