135 Commits

Author SHA1 Message Date
Pasha Sviderski
1523fbc1e9 release: Bump version to 0.4.0 v0.4.0 2025-12-01 11:33:44 +10:00
Pasha Sviderski
964f288c88 docs: add environment variables section to usage, auto-detect CoreELEC docker path /storage/.docker/bin/docker 2025-12-01 11:27:57 +10:00
Pasha Sviderski
45e9aedc16 fix: shellcheck, one missing docker remote command replaced with 2025-12-01 10:41:54 +10:00
Pasha Sviderski
8d5b784fa3 revert redundant check for healthy after the #44 merge 2025-12-01 10:37:20 +10:00
decarbonise
2f0f8bb54d fix: search more directories for docker (#44)
When doing a MacOS -> MacOS pussh, unregistry was failing due to the docker local binary not being within $PATH for non-interactive sessions. To fix this, we search more folders for the docker binary, without relying solely on $PATH.
2025-12-01 10:36:03 +10:00
Michael Bianco
3408a7ad20 docs: add docker-image-cleanup to third-party projects (#53)
Add docker-image-cleanup Python tool to the third-party projects list.
This tool helps manage Docker images in self-hosted registries by
automatically cleaning up outdated images while preserving recent and
actively used ones.

Resolves #32

Co-authored-by: Claude <noreply@anthropic.com>
2025-11-13 16:45:17 +10:00
Pasha Sviderski
01ec4971a0 chore: relax start check of unregistry container 2025-10-10 12:49:15 +10:00
Pasha Sviderski
360d0d29c8 release: Bump version to 0.3.1 v0.3.1 2025-09-19 19:27:45 +10:00
Pasha Sviderski
4ad50899f9 chore: fix main Go module name -> github.com/psviderski/unregistry 2025-09-19 19:13:14 +10:00
Pasha Sviderski
fe0d472448 chore: move Registry to public unregistry package to allow using as library 2025-09-19 18:59:24 +10:00
Pasha Sviderski
8fa7a1db8d docs: list third-party projects in README (github actions) 2025-09-10 17:52:16 +10:00
Pasha Sviderski
993e09ba73 release: Bump version to 0.3.0 v0.3.0 2025-09-02 16:18:56 +10:00
Pasha Sviderski
4b30a34494 fix: support images with :port in registry address (my.registry.com:5000/image) 2025-09-02 16:13:34 +10:00
Pasha Sviderski
9014d7fa14 test: fix test ssh key permission before running e2e test 2025-09-02 14:54:16 +10:00
Pasha Sviderski
0c685cad24 test: e2e happy path tests for docker-pussh 2025-09-02 14:45:39 +10:00
Pasha Sviderski
f98b390a9a chore: run SSH daemon in test dind container to create e2e test for docker-pussh 2025-09-02 12:09:54 +10:00
Pasha Sviderski
e5d47430fc feat: add --no-host-key-check option to skip SSH host key checking 2025-09-02 11:34:26 +10:00
Pasha Sviderski
8d42e5b68f chore: update Docker for e2e tests to 28.3.3, fix test for missing platform pull 2025-09-02 10:06:01 +10:00
Pasha Sviderski
aaf5bf0cc2 release: Bump version to 0.2.2 v0.2.2 2025-09-01 20:34:24 +10:00
Pasha Sviderski
9d56cb9bf7 fix: docker-pussh when using containerd image store on remote side 2025-09-01 20:33:25 +10:00
Pasha Sviderski
f361a12be9 fix: e2e tests by using hopefully immutable traefik/whoami image in Docker Hub 2025-09-01 17:59:58 +10:00
Anton Ovchinnikov
ee226d1314 doc: Improve air-gapped environment instructions 2025-08-08 00:22:54 +02:00
Pasha Sviderski
95fd449a23 release: Bump version to 0.2.1 v0.2.1 2025-07-22 16:57:56 +10:00
Pasha Sviderski
bb0f5afbc2 fix: temporarily revert the handling of images with :port 2025-07-22 16:56:34 +10:00
Anton Ovchinnikov
1eaafe1c3d release: Bump version to 0.2.0 v0.2.0 2025-07-21 19:54:11 +02:00
Anton Ovchinnikov
9aa39fbd49 chore(shellcheck): Enforce "require-variable-braces" rule 2025-07-20 18:39:54 +02:00
Anton Ovchinnikov
87958a0c23 chore(shellcheck): Enforce "require-double-brackets" rule 2025-07-20 18:25:32 +02:00
Anton Ovchinnikov
9e27c78766 chore: Fix all shellcheck warnings for files in scripts/ 2025-07-20 18:17:19 +02:00
Anton Ovchinnikov
a4c8350d80 chore(plugin): Enable more shellcheck checks 2025-07-20 17:49:10 +02:00
Anton Ovchinnikov
b2e86d14b1 cleanup(plugin): Do not retry on unknown errors 2025-07-20 16:55:42 +02:00
Zhichang Yu
63c2ebf8de Fixed incorrect containerd sock path on OpenSUSE (#30)
- Fixed incorrect containerd sock path on OpenSUSE
- Use no_proxy environment variable instead of complex proxy save/restore logic
- Replace all sudo calls with sudo -n to avoid password prompt blocking
- Ensures script never blocks waiting for password input
- Add CONTAINERD_SOCKET environment variable support for user override
- Skip detection if CONTAINERD_SOCKET was explicitly set by user
- Default to /run/containerd/containerd.sock if no socket found
- Added snap docker support
2025-07-20 16:45:50 +02:00
Anton Ovchinnikov
da2720eaa8 fix(plugin): Use correct and slightly randomized remote image name 2025-07-17 23:34:51 +02:00
JonathanMbt
7b59d9f7aa feat: add support to private registries (#21)
Co-authored-by: Jonathan Mabit <jonathan.mabit@thalesgroup.com>
2025-07-17 23:13:10 +02:00
Anton Ovchinnikov
f01890cd99 Revert "feat: Cleanup on INT and TERM signals"
This reverts commit 2b32816a2f.

This duplicates calls to cleanup function, and I cannot really reproduce
the failure mode where we need to trap INT/TERM separately.
2025-07-16 21:33:27 +02:00
Anton Ovchinnikov
9633089a88 feat(plugin): Pin image version 2025-07-15 23:15:32 +02:00
Anton Ovchinnikov
2b32816a2f feat: Cleanup on INT and TERM signals 2025-07-15 20:11:35 +02:00
Anton Ovchinnikov
d6e80b9467 feat(plugin): Pin unregistry image version to script version 2025-07-09 00:34:15 +02:00
Anton Ovchinnikov
87791ceabe feat: Run goreleaser as part of the version bumping script 2025-07-07 23:13:58 +02:00
Anton Ovchinnikov
c7dbf39b0e fix: Exclude release commits from changelog 2025-07-07 23:10:02 +02:00
Anton Ovchinnikov
9245dcf819 release: Bump version to 0.1.3 v0.1.3 2025-07-07 23:08:03 +02:00
Anton Ovchinnikov
d3c3f35ca5 fix: Homebrew tap repository owner 2025-07-07 23:06:34 +02:00
Anton Ovchinnikov
0ec314861d release: Bump version to 0.1.2 2025-07-07 22:53:31 +02:00
Anton Ovchinnikov
336495bb60 fix: Replace sed with perl (hehe) for compatibility v0.1.2 2025-07-07 22:51:03 +02:00
A23187
7714dc4ef3 readme: correct the Save/Load approach (#26)
In `docker save | ssh | docker load`, `docker load` will be run in local machine. The correct way to upload image is that `docker save | ssh <remote server> docker load`, which `docker load` will be run in remote server
2025-07-04 19:59:02 +02:00
Anton Ovchinnikov
c4bf40468c chore: Rename release script 2025-07-04 18:08:37 +02:00
Anton Ovchinnikov
4306c47e49 chore: Add .editorconfig 2025-07-04 17:44:28 +02:00
Anton Ovchinnikov
22be4eb813 fix: Add missing dummy file 2025-07-04 17:32:08 +02:00
Pasha Sviderski
8ab51ee41e chore: load env vars from .env by mise 2025-07-04 22:43:14 +10:00
Pasha Sviderski
188c6e360e release: Bump version to 0.1.1 v0.1.1 2025-07-04 22:36:47 +10:00
Anton Ovchinnikov
83f0eef74f fix(plugin): Use local forwarding when using Colima 2025-07-03 23:25:31 +02:00