File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9494
9595 - name : Create multiarch manifest
9696 run : |
97- mkdir -p ~/.docker
98- cp $HOME/.docker/config.json ~/.docker/config-tmp.json
99- cat ~/.docker/config-tmp.json
100- sed '$ s/.$//' ~/.docker/config-tmp.json
101- echo ', "experimental": "enabled" }' >> ~/.docker/config-tmp.json
102- cat ~/.docker/config.json
103- cp ~/.docker/config-tmp.json $HOME/.docker/config.json
97+ echo '{"experimental": true}' | sudo tee -a /etc/docker/daemon.json
10498 docker --config ~/.docker manifest create ${{ env.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }} ${{ env.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:linux-${{ env.BRANCH }}
10599 docker --config ~/.docker manifest create ${{ env.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:latest ${{ env.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:linux-latest
106100 docker --config ~/.docker manifest push ${{ env.REGISTRY_ENDPOINT }}/${{ env.IMAGE }}:${{ env.BRANCH }}
You can’t perform that action at this time.
0 commit comments