diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 9cbbac0..c8f31d5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -40,12 +40,10 @@ jobs: dest="$repo:${{ matrix.arch }}" date="$(date +%Y%m%d%H%M)" docker run --rm --privileged multiarch/qemu-user-static --reset -p yes - docker build -t $dest --build-arg BASE=$base ./ + docker build --platform linux/$arch -t $dest --build-arg BASE=$base ./ # docker tag $dest ghcr.io/$dest docker tag $dest docker.io/$dest - echo 1 $dest docker tag $dest $dest-$date - echo 2 $repo docker images # docker push --all-tags ghcr.io/$repo docker push --all-tags docker.io/$repo