gdha / pi4-ntopng

ntopng container deployed on kubernetes (pi4 only)
0 stars 1 forks source link

Push to ghrc.io fails #8

Open gdha opened 1 year ago

gdha commented 1 year ago
Run redhat-actions/push-to-registry@9986a6552bc4571882a4a67e016b17361412b4df
Creating temporary Podman image storage for pulling from Docker daemon
Overriding storage mount_program with "fuse-overlayfs" in environment
Combining image name "pi4-ntopng" and registry "ghcr.io/gdha" to form registry path "ghcr.io/gdha/pi4-ntopng"
🔍 Checking if the given image is manifest or not.
/usr/bin/podman version
/usr/bin/podman manifest exists pi4-ntopng:latest
/usr/bin/podman manifest exists pi4-ntopng:3.8.190813
Images "pi4-ntopng:latest, pi4-ntopng:3.8.190813" are manifests.
⏳ Pushing "pi4-ntopng:latest, pi4-ntopng:3.8.190813" to "ghcr.io/gdha/pi4-ntopng:latest, ghcr.io/gdha/pi4-ntopng:3.8.190813" respectively as "gdha"
/usr/bin/podman manifest push --quiet --digestfile pi4-ntopng-latest_digest.txt pi4-ntopng:latest ghcr.io/gdha/pi4-ntopng:latest --all --tls-verify=true --creds=gdha:***
Error: trying to reuse blob sha256:954c82bdeb5fcc80094317528fa3fcbb1026aeff64f872527d35ec9b4343b84d at destination: failed to read from destination repository gdha/pi4-ntopng: 403 (Forbidden)
Removing temporary Podman image storage for pulling from Docker daemon
/usr/bin/podman --root /tmp/podman-from-docker-bJ5jrv --storage-opt overlay.mount_program=/usr/bin/fuse-overlayfs rmi -a -f
(node:27155) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead
(Use `node --trace-deprecation ...` to show where the warning was created)
Error: podman exited with code [12](https://github.com/gdha/pi4-ntopng/actions/runs/6107438470/job/16574432196#step:6:13)5
Error: trying to reuse blob sha256:954c82bdeb5fcc80094317528fa3fcbb10[26](https://github.com/gdha/pi4-ntopng/actions/runs/6107438470/job/16574432196#step:6:30)aeff64f8725[27](https://github.com/gdha/pi4-ntopng/actions/runs/6107438470/job/16574432196#step:6:31)d35ec9b4[34](https://github.com/gdha/pi4-ntopng/actions/runs/6107438470/job/16574432196#step:6:38)3b84d at destination: failed to read from destination repository gdha/pi4-ntopng: 403 (Forbidden)
gdha commented 1 year ago
Image "pi4-ntopng:3.8.190813" is a manifest.
⏳ Pushing "pi4-ntopng:3.8.190813" to "ghcr.io/gdha/pi4-ntopng:3.8.190813" respectively as "gdha"
/usr/bin/podman manifest push --quiet --digestfile pi4-ntopng-3.8.190813_digest.txt pi4-ntopng:3.8.190813 ghcr.io/gdha/pi4-ntopng:3.8.190813 --all --tls-verify=true --creds=gdha:***
Error: writing blob: initiating layer upload to /v2/gdha/pi4-ntopng/blobs/uploads/ in ghcr.io: denied: permission_denied: write_package
Removing temporary Podman image storage for pulling from Docker daemon
/usr/bin/podman --root /tmp/podman-from-docker-tS7jdf --storage-opt overlay.mount_program=/usr/bin/fuse-overlayfs rmi -a -f
(node:27971) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead
(Use `node --trace-deprecation ...` to show where the warning was created)
Error: podman exited with code 1[25](https://github.com/gdha/pi4-ntopng/actions/runs/6186174978/job/16793218417#step:6:28)
Error: writing blob: initiating layer upload to /v2/gdha/pi4-ntopng/blobs/uploads/ in ghcr.io: denied: permission_denied: write_package

So, it is not forbidden anymore, just write permission denied.

gdha commented 1 year ago

I think I understand it now - the version ghcr.io/gdha/pi4-ntopng:3.8.190813 is already existing - the same number is not allowed of course. We should switch the new nersion.

gdha commented 5 months ago
Image "pi4-ntopng:6.1.240613-23595" is a manifest.
⏳ Pushing "pi4-ntopng:6.1.240613-23595" to "ghcr.io/gdha/pi4-ntopng:6.1.240613-23595" respectively as "gdha"
/usr/bin/podman manifest push --quiet --digestfile pi4-ntopng-6.1.240613-23595_digest.txt pi4-ntopng:6.1.240613-23595 ghcr.io/gdha/pi4-ntopng:6.1.240613-23595 --all --tls-verify=true --creds=gdha:***
Error: writing blob: initiating layer upload to /v2/gdha/pi4-ntopng/blobs/uploads/ in ghcr.io: denied: permission_denied: write_package
Removing temporary Podman image storage for pulling from Docker daemon
/usr/bin/podman --root /tmp/podman-from-docker-XXXXXXu8yNgw rmi -a -f
(node:27371) [DEP0147] DeprecationWarning: In future versions of Node.js, fs.rmdir(path, { recursive: true }) will be removed. Use fs.rm(path, { recursive: true }) instead
(Use `node --trace-deprecation ...` to show where the warning was created)
Error: podman exited with code 1[25](https://github.com/gdha/pi4-ntopng/actions/runs/9516748257/job/26233706536#step:6:28)
Error: writing blob: initiating layer upload to /v2/gdha/pi4-ntopng/blobs/uploads/ in ghcr.io: denied: permission_denied: write_package

Hum - updating the version did not fix it (yet)