You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i use this code for build and push my dockerfile, but the push don't work...
name: ci
on:
push:
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Private Registry
uses: docker/login-action@v3
with:
registry: https://lepitrust.myqnapcloud.com:5000
username: ${{ secrets.PRIV_REGISTRY_USER }}
password: ${{ secrets.PRIV_REGISTRY_PASS }}
- name: Build and push to local registry
uses: docker/build-push-action@v6
with:
push: true
tags: lepitrust.myqnapcloud.com:5000/pippofinance:latest
- name: Inspect
run: |
docker buildx imagetools inspect lepitrust.myqnapcloud.com:5000/pippofinance:latest
At the end of build, at the moment to push the script use http instead https :( and i don't understand why...
#15 exporting to image
#15 pushing layers 2.0s done
#15 ERROR: failed to push ***.myqnapcloud.com:5000/pippofinance:latest: failed to copy: unexpected status from PUT request to http://***.myqnapcloud.com:5000/v2/pippofinance/blobs/uploads/7fac8250-8a51-4070-9075-620c3966507b?_state=d0OSH32sadL4zrvTaov0KEYFjdAz_b8g-wqqrZ5T1N17Ik5hbWUiOiJwaXBwb2ZpbmFuY2UiLCJVVUlEIjoiN2ZhYzgyNTAtOGE1MS00MDcwLTkwNzUtNjIwYzM5NjY1MDdiIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDI0LTA3LTIyVDIwOjU4OjI2Ljc5ODA0NDUxMloifQ%3D%3D&digest=sha256%3A39a14678cf47b2493cbd631c2a817d5c0f87b023c2d3f997d2cc7371a4d044c0: 400 Bad Request
------
> exporting to image:
------
ERROR: failed to solve: failed to push ***.myqnapcloud.com:5000/pippofinance:latest: failed to copy: unexpected status from PUT request to http://***.myqnapcloud.com:5000/v2/pippofinance/blobs/uploads/7fac8250-8a51-4070-9075-620c3966507b?_state=d0OSH32sadL4zrvTaov0KEYFjdAz_b8g-wqqrZ5T1N17Ik5hbWUiOiJwaXBwb2ZpbmFuY2UiLCJVVUlEIjoiN2ZhYzgyNTAtOGE1MS00MDcwLTkwNzUtNjIwYzM5NjY1MDdiIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDI0LTA3LTIyVDIwOjU4OjI2Ljc5ODA0NDUxMloifQ%3D%3D&digest=sha256%3A39a14678cf47b2493cbd631c2a817d5c0f87b023c2d3f997d2cc7371a4d044c0: 400 Bad Request
Reference
Check build summary support
Error: buildx failed with: ERROR: failed to solve: failed to push ***.myqnapcloud.com:5000/pippofinance:latest: failed to copy: unexpected status from PUT request to http://***.myqnapcloud.com:5000/v2/pippofinance/blobs/uploads/7fac8250-8a51-4070-9075-620c3966507b?_state=d0OSH32sadL4zrvTaov0KEYFjdAz_b8g-wqqrZ5T1N17Ik5hbWUiOiJwaXBwb2ZpbmFuY2UiLCJVVUlEIjoiN2ZhYzgyNTAtOGE1MS00MDcwLTkwNzUtNjIwYzM5NjY1MDdiIiwiT2Zmc2V0IjowLCJTdGFydGVkQXQiOiIyMDI0LTA3LTIyVDIwOjU4OjI2Ljc5ODA0NDUxMloifQ%3D%3D&digest=sha256%3A39a14678cf47b2493cbd631c2a817d5c0f87b023c2d3f997d2cc7371a4d044c0: 400 Bad Request
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
i use this code for build and push my dockerfile, but the push don't work...
At the end of build, at the moment to push the script use http instead https :( and i don't understand why...
Anyone can help me?
Beta Was this translation helpful? Give feedback.
All reactions