mirror of
https://github.com/Crosstalk-Solutions/project-nomad.git
synced 2026-04-03 23:36:17 +02:00
feat: add arm64/linux support to Docker build workflows
Add QEMU and Buildx setup steps to both image build workflows, and set platforms: linux/amd64,linux/arm64 for multiarch images. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
8bb8b414f8
commit
33bebb35f9
5
.github/workflows/build-disk-collector.yml
vendored
5
.github/workflows/build-disk-collector.yml
vendored
|
|
@ -34,6 +34,10 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v3
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v3
|
||||||
- name: Log in to GitHub Container Registry
|
- name: Log in to GitHub Container Registry
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
|
|
@ -45,6 +49,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
context: install/sidecar-disk-collector
|
context: install/sidecar-disk-collector
|
||||||
push: true
|
push: true
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
tags: |
|
tags: |
|
||||||
ghcr.io/crosstalk-solutions/project-nomad-disk-collector:${{ inputs.version }}
|
ghcr.io/crosstalk-solutions/project-nomad-disk-collector:${{ inputs.version }}
|
||||||
ghcr.io/crosstalk-solutions/project-nomad-disk-collector:v${{ inputs.version }}
|
ghcr.io/crosstalk-solutions/project-nomad-disk-collector:v${{ inputs.version }}
|
||||||
|
|
|
||||||
5
.github/workflows/build-primary-image.yml
vendored
5
.github/workflows/build-primary-image.yml
vendored
|
|
@ -34,6 +34,10 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v3
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v3
|
||||||
- name: Log in to GitHub Container Registry
|
- name: Log in to GitHub Container Registry
|
||||||
uses: docker/login-action@v2
|
uses: docker/login-action@v2
|
||||||
with:
|
with:
|
||||||
|
|
@ -44,6 +48,7 @@ jobs:
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
push: true
|
push: true
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
tags: |
|
tags: |
|
||||||
ghcr.io/crosstalk-solutions/project-nomad:${{ inputs.version }}
|
ghcr.io/crosstalk-solutions/project-nomad:${{ inputs.version }}
|
||||||
ghcr.io/crosstalk-solutions/project-nomad:v${{ inputs.version }}
|
ghcr.io/crosstalk-solutions/project-nomad:v${{ inputs.version }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user