ci: build multi-arch images (amd64, arm64, arm/v7) #3
@@ -22,11 +22,18 @@ jobs:
|
|||||||
echo "release=${RELEASE_NAME}" >> $GITHUB_OUTPUT
|
echo "release=${RELEASE_NAME}" >> $GITHUB_OUTPUT
|
||||||
echo "Building version ${VERSION} from branch ${BRANCH}"
|
echo "Building version ${VERSION} from branch ${BRANCH}"
|
||||||
|
|
||||||
|
- name: Set up QEMU
|
||||||
|
uses: docker/setup-qemu-action@v3
|
||||||
|
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v3
|
||||||
|
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
|
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||||
tags: |
|
tags: |
|
||||||
reg.i3omb.com/sofarr:${{ steps.version.outputs.version }}
|
reg.i3omb.com/sofarr:${{ steps.version.outputs.version }}
|
||||||
reg.i3omb.com/sofarr:${{ steps.version.outputs.release }}
|
reg.i3omb.com/sofarr:${{ steps.version.outputs.release }}
|
||||||
|
|||||||
Reference in New Issue
Block a user