From bb4fe2e516370bb89405af2bdc721f80efe34b5c Mon Sep 17 00:00:00 2001 From: Yevheniy Oliynyk Date: Fri, 13 Dec 2024 21:47:44 +0100 Subject: [PATCH] fix: docker build ci --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index dac8b94e..4fefdf22 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -210,7 +210,7 @@ jobs: - name: Build Docker image run: | docker login -u "${{ secrets.DOCKER_USERNAME }}" -p "${{ secrets.DOCKER_PASSWORD }}" docker.io - docker buildx build --platform linux/amd64,linux/arm64 --pull -t "${{ secrets.DOCKER_HUB_REGISTRY_IMAGE }}:${{ github.ref_name }}" -t "${{ secrets.DOCKER_HUB_REGISTRY_IMAGE }}:latest" . + docker buildx build --platform linux/amd64,linux/arm64 --load --pull -t "${{ secrets.DOCKER_HUB_REGISTRY_IMAGE }}:${{ github.ref_name }}" -t "${{ secrets.DOCKER_HUB_REGISTRY_IMAGE }}:latest" . docker push "${{ secrets.DOCKER_HUB_REGISTRY_IMAGE }}:${{ github.ref_name }}" docker push "${{ secrets.DOCKER_HUB_REGISTRY_IMAGE }}:latest"