Include arm64 build in Docker workflow
This commit is contained in:
@@ -34,6 +34,9 @@ jobs:
|
|||||||
- runner: ubuntu-latest
|
- runner: ubuntu-latest
|
||||||
platform: linux/amd64
|
platform: linux/amd64
|
||||||
arch: amd64
|
arch: amd64
|
||||||
|
- runner: ubuntu-24.04-arm
|
||||||
|
platform: linux/arm64
|
||||||
|
arch: arm64
|
||||||
env:
|
env:
|
||||||
REGISTRY: ghcr.io
|
REGISTRY: ghcr.io
|
||||||
IMAGE_NAME: ${{ github.repository }}
|
IMAGE_NAME: ${{ github.repository }}
|
||||||
@@ -170,11 +173,13 @@ jobs:
|
|||||||
docker buildx imagetools create \
|
docker buildx imagetools create \
|
||||||
--tag "$tag" \
|
--tag "$tag" \
|
||||||
--annotation "index:org.opencontainers.image.description=${IMAGE_DESCRIPTION}" \
|
--annotation "index:org.opencontainers.image.description=${IMAGE_DESCRIPTION}" \
|
||||||
"${src_tag}-amd64"
|
"${src_tag}-amd64" \
|
||||||
|
"${src_tag}-arm64"
|
||||||
else
|
else
|
||||||
docker buildx imagetools create \
|
docker buildx imagetools create \
|
||||||
--tag "$tag" \
|
--tag "$tag" \
|
||||||
"${src_tag}-amd64"
|
"${src_tag}-amd64" \
|
||||||
|
"${src_tag}-arm64"
|
||||||
fi
|
fi
|
||||||
done <<< "$tags"
|
done <<< "$tags"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user