This commit is contained in:
Björn Ellensohn 2023-04-13 12:44:19 +02:00
parent 56de6b83d2
commit 859d1512a6

View File

@ -6,9 +6,7 @@ docker buildx create --name mybuilder
docker buildx use mybuilder
export DOCKER_CLI_EXPERIMENTAL=enabled
docker buildx build --platform linux/amd64 --build-arg GHCR_TOKEN=<your_token> -f ./dockerfile.amd64 -t ghcr.io/bjoernellens1/ros:humble-amd64 .
docker buildx build --platform linux/arm64 --build-arg GHCR_TOKEN=<your_token> -f ./dockerfile.amd64 -t ghcr.io/bjoernellens1/ros:humble-amd64 . --push
or
docker buildx build --platform linux/arm64 --build-arg GHCR_TOKEN=<your_token> -f ./dockerfile.arm64 -t ghcr.io/bjoernellens1/ros:humble-arm64 .
docker buildx build --platform linux/arm64 --build-arg GHCR_TOKEN=<your_token> -f ./dockerfile.arm64 -t ghcr.io/bjoernellens1/ros:humble-arm64 . --push