diff --git a/.github/workflows/build-publish.yml b/.github/workflows/build-publish.yml index 35b86ff..5d6466f 100644 --- a/.github/workflows/build-publish.yml +++ b/.github/workflows/build-publish.yml @@ -45,9 +45,6 @@ jobs: - name: 'Build and push Solr image' run: | export BUILDX_NO_DEFAULT_ATTESTATIONS=1 - docker run --privileged --rm tonistiigi/binfmt --install all SOLRVERSION=$(grep "FROM solr" -m1 solr/Dockerfile | cut -f2 -d":"| cut -f1 -d":") echo "Building Solr version $SOLRVERSION" - docker buildx create --use --name tailormap-builder - docker buildx use tailormap-builder - docker buildx build --platform linux/amd64,linux/arm64 --build-arg SOLRVERION=${SOLRVERSION} --tag ghcr.io/tailormap/solr:${SOLRVERSION} --push --pull ./solr + docker buildx build --build-arg SOLRVERION=${SOLRVERSION} --tag ghcr.io/tailormap/solr:${SOLRVERSION} --push --pull ./solr