From 288760c43de28cd51c82e290b5b4939dfa916bef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Borja=20Garc=C3=ADa=20Rodr=C3=ADguez?= Date: Thu, 24 Dec 2020 14:32:45 +0100 Subject: [PATCH] test --- .github/workflows/basket-api.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/basket-api.yml b/.github/workflows/basket-api.yml index 9997ad7ed..f16616e75 100644 --- a/.github/workflows/basket-api.yml +++ b/.github/workflows/basket-api.yml @@ -94,13 +94,7 @@ jobs: - name: Create multiarch manifest run: | - mkdir -p ~/.docker - cp $HOME/.docker/config.json ~/.docker/config-tmp.json - cat ~/.docker/config-tmp.json - sed '$ s/.$//' ~/.docker/config-tmp.json - echo ', "experimental": "enabled" }' >> ~/.docker/config-tmp.json - cat ~/.docker/config.json - cp ~/.docker/config-tmp.json $HOME/.docker/config.json + echo '{"experimental": true}' | sudo tee -a /etc/docker/daemon.json docker --config ~/.docker manifest create ${{ env.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }} ${{ env.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:linux-${{ env.BRANCH }} docker --config ~/.docker manifest create ${{ env.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:latest ${{ env.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:linux-latest docker --config ~/.docker manifest push ${{ env.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }}