mirror of
https://github.com/buanet/ioBroker.docker.git
synced 2025-12-24 13:45:32 +02:00
test manual build
This commit is contained in:
15
.github/workflows/build-debian-image-dev.yml
vendored
15
.github/workflows/build-debian-image-dev.yml
vendored
@@ -58,17 +58,14 @@ jobs:
|
||||
run: |
|
||||
# Build the Docker image for all platforms
|
||||
docker buildx build --push --platform linux/amd64,linux/arm64,linux/arm/v7 -t ghcr.io/buanet/iobroker:dev -f ./debian/node18/Dockerfile ./debian
|
||||
|
||||
# Create the Docker manifest for the image
|
||||
docker manifest create ghcr.io/buanet/iobroker:dev ghcr.io/buanet/iobroker:dev-amd64 ghcr.io/buanet/iobroker:dev-arm64 ghcr.io/buanet/iobroker:dev-armv7
|
||||
|
||||
# Annotate the manifest with the architecture details
|
||||
docker manifest annotate ghcr.io/buanet/iobroker:dev ghcr.io/buanet/iobroker:dev-amd64 --os linux --arch amd64
|
||||
docker manifest annotate ghcr.io/buanet/iobroker:dev ghcr.io/buanet/iobroker:dev-arm64 --os linux --arch arm64
|
||||
docker manifest annotate ghcr.io/buanet/iobroker:dev ghcr.io/buanet/iobroker:dev-armv7 --os linux --arch arm --variant v7
|
||||
|
||||
# Build manifest for dev-amd64
|
||||
echo $(docker manifest inspect ghcr.io/buanet/iobroker:dev) | jq -r '.manifests[] | select(.platform.architecture == "amd64") | .digest'
|
||||
docker manifest create ghcr.io/buanet/iobroker:dev-amd64 \
|
||||
ghcr.io/buanet/iobroker@$(echo $(docker manifest inspect ghcr.io/buanet/iobroker:dev) | jq -r '.manifests[] | select(.platform.architecture == "amd64") | .digest')
|
||||
|
||||
# Push the Docker manifest to the registry
|
||||
docker manifest push ghcr.io/buanet/iobroker:dev
|
||||
docker manifest push ghcr.io/buanet/iobroker:dev-amd64
|
||||
|
||||
# - name: Extract metadata (tags, labels)
|
||||
# id: metadata
|
||||
|
||||
Reference in New Issue
Block a user