diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 94449531ef..841485ed80 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -45,12 +45,6 @@ jobs: repository: ${{ github.event.pull_request.head.repo.full_name }} ref: ${{ github.event.pull_request.head.ref }} fetch-depth: 0 - - name: Login to Docker Hub - if: ${{ github.event.repository.full_name }}== 'lf-edge/eve' - uses: docker/login-action@v3 - with: - username: ${{ secrets.RELEASE_DOCKERHUB_ACCOUNT }} - password: ${{ secrets.RELEASE_DOCKERHUB_TOKEN }} - name: ensure zstd for cache # this should be removed once the arm64 VM includes zstd if: ${{ matrix.os == 'buildjet-4vcpu-ubuntu-2204-arm' || matrix.os == 'arm64-secure' }} run: | @@ -112,13 +106,6 @@ jobs: ref: ${{ github.event.pull_request.head.ref }} fetch-depth: 0 - - name: Login to Docker Hub - if: ${{ github.event.repository.full_name }}== 'lf-edge/eve' - uses: docker/login-action@v3 - with: - username: ${{ secrets.RELEASE_DOCKERHUB_ACCOUNT }} - password: ${{ secrets.RELEASE_DOCKERHUB_TOKEN }} - # the next three steps - cache_for_docker, load images, and cache_for_packages - # having nothing to do with the content of the final eve image. Instead, it is because we are running # on amd64, and we need some of the tools in order to compose the final eve image for the target arch. diff --git a/Makefile b/Makefile index e9cf6c6fc3..c388558af1 100644 --- a/Makefile +++ b/Makefile @@ -883,7 +883,7 @@ cache-export: image-set outfile-set $(LINUXKIT) ## export an image from linuxkit cache and load it into docker. cache-export-docker-load: $(LINUXKIT) $(eval TARFILE := $(shell mktemp)) - $(MAKE) cache-export OUTFILE=${TARFILE} && cat ${TARFILE} | docker load + $(MAKE) cache-export --format docker OUTFILE=${TARFILE} && cat ${TARFILE} | docker load rm -rf ${TARFILE} %-cache-export-docker-load: $(LINUXKIT)