Skip to content

Commit 288760c

Browse files
author
Borja García Rodríguez
committed
test
1 parent 913241e commit 288760c

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

.github/workflows/basket-api.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,7 @@ jobs:
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 }}

0 commit comments

Comments
 (0)