-
Notifications
You must be signed in to change notification settings - Fork 296
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plan from migrating away from dockerhub? #1948
Comments
It should be easy to push to multiple registries [1] ( Do you want to send a Pull Request? Another option is to use the free container registry that comes with our Gitlab mirror. Then I will mirror existing images to the new registry using https://github.com/google/go-containerregistry/tree/main/cmd/crane. |
created #1949 but I have absolutely no way of testing it so there's no warranty it'll work |
Thank you, it worked perfectly (https://github.com/shaarli/Shaarli/pkgs/container/shaarli). I'll take care of the remaining tasks soon. |
@nodiscc the link you pointed to (https://github.com/shaarli/Shaarli/pkgs/container/shaarli) returns a "page not found" for me, maybe a permission problem? |
Fixed, I had to Allow organization members to create public packages at https://github.com/organizations/shaarli/settings/packages Set package visibility to public at https://github.com/orgs/shaarli/packages/container/shaarli/settings Now I can access https://github.com/shaarli/Shaarli/pkgs/container/shaarli while logged out. I also checked that @hydrargyrum If you already have a setup that runs the |
Done.
deploy@demo1:~$ VERSION=$(curl -s "https://api.github.com/repos/google/go-containerregistry/releases/latest" | jq -r '.tag_name')
deploy@demo1:~$ OS=Linux
deploy@demo1:~$ ARCH=x86_64
deploy@demo1:~$ curl -sL "https://github.com/google/go-containerregistry/releases/download/${VERSION}/go-containerregistry_${OS}_${ARCH}.tar.gz" > go-containerregistry.tar.gz
deploy@demo1:~$ tar -zxvf go-containerregistry.tar.gz -C ./ crane
deploy@demo1:~$ ./crane ls docker.io/shaarli/shaarli
latest
master
release
stable
v0.10.0
v0.10.2
v0.10.3
v0.10.4
v0.11.1
v0.12.0
v0.12.1
$ docker login ghcr.io
Username: nodiscc
Password:
Login Succeeded
deploy@demo1:~$ ./crane cp docker.io/shaarli/shaarli:release ghcr.io/shaarli/shaarli:release
2023/03/17 13:26:33 Copying from docker.io/shaarli/shaarli:release to ghcr.io/shaarli/shaarli:release
2023/03/17 13:26:36 pushed blob: sha256:747e219c257d0eb4daeaff62685b18715a7bf3c5d5352517d5bba801a5bb7b43
2023/03/17 13:26:37 pushed blob: sha256:d979ad4b987fedf9d1023d7435c93a26b0ca62d9a56dbf4ff6cf916266cd2c04
2023/03/17 13:26:37 pushed blob: sha256:940bf69b4cbade5760cc5ba03bf2dbf2c7a91d7d97691d7057e4a576933c9222
2023/03/17 13:26:37 pushed blob: sha256:339de151aab4bc06eed8409daae147c408478cb538dacb90cc63f19ad4eba80b
2023/03/17 13:26:38 pushed blob: sha256:014a37916ac24630c08d05e83146d08204f93dbdf00c6a6389c4779fdda4de2d
2023/03/17 13:26:38 pushed blob: sha256:9e0b588979b04d248572f006813256d3b9a69791a14a1b8a2577c71d85ac065c
2023/03/17 13:26:39 pushed blob: sha256:3d08f6500d500b39c46ae11234a03e4eb69dea48fe46d8e7d9eae421f31cf756
2023/03/17 13:26:40 pushed blob: sha256:cef6951c288efcca58c3c74badbdc83c51c51b5395093f8040635fb8619fcba0
2023/03/17 13:26:41 pushed blob: sha256:94d33678c1b11baac460d98cb68d1a55eefc72b73c8fce6494c06141a6bedb91
2023/03/17 13:26:41 ghcr.io/shaarli/shaarli:release: digest: sha256:441d93a5c98169ce2973583712e1bee85790014452dcf252acf6bf85a9e6885a size: 1992
deploy@demo1:~$ ./crane cp docker.io/shaarli/shaarli:stable ghcr.io/shaarli/shaarli:stable
2023/03/17 13:27:17 Copying from docker.io/shaarli/shaarli:stable to ghcr.io/shaarli/shaarli:stable
2023/03/17 13:27:18 existing blob: sha256:747e219c257d0eb4daeaff62685b18715a7bf3c5d5352517d5bba801a5bb7b43
2023/03/17 13:27:19 existing blob: sha256:339de151aab4bc06eed8409daae147c408478cb538dacb90cc63f19ad4eba80b
2023/03/17 13:27:19 existing blob: sha256:014a37916ac24630c08d05e83146d08204f93dbdf00c6a6389c4779fdda4de2d
2023/03/17 13:27:19 existing blob: sha256:940bf69b4cbade5760cc5ba03bf2dbf2c7a91d7d97691d7057e4a576933c9222
2023/03/17 13:27:19 existing blob: sha256:cef6951c288efcca58c3c74badbdc83c51c51b5395093f8040635fb8619fcba0
2023/03/17 13:27:19 existing blob: sha256:9e0b588979b04d248572f006813256d3b9a69791a14a1b8a2577c71d85ac065c
2023/03/17 13:27:19 existing blob: sha256:3d08f6500d500b39c46ae11234a03e4eb69dea48fe46d8e7d9eae421f31cf756
2023/03/17 13:27:19 existing blob: sha256:d979ad4b987fedf9d1023d7435c93a26b0ca62d9a56dbf4ff6cf916266cd2c04
2023/03/17 13:27:19 existing blob: sha256:94d33678c1b11baac460d98cb68d1a55eefc72b73c8fce6494c06141a6bedb91
2023/03/17 13:27:19 ghcr.io/shaarli/shaarli:stable: digest: sha256:441d93a5c98169ce2973583712e1bee85790014452dcf252acf6bf85a9e6885a size: 1992
deploy@demo1:~$ ./crane cp docker.io/shaarli/shaarli:v0.10.0 ghcr.io/shaarli/shaarli:v0.10.0
2023/03/17 13:27:42 Copying from docker.io/shaarli/shaarli:v0.10.0 to ghcr.io/shaarli/shaarli:v0.10.0
2023/03/17 13:27:45 pushed blob: sha256:62600e8bb458ea423ab3071029d0017d75294da18a3ffb3287b65abeddc6048d
2023/03/17 13:27:45 pushed blob: sha256:5dc90871589ada5085aeae36130299e1152e5d491e60bd196c2c71e360d4d0ea
2023/03/17 13:27:45 pushed blob: sha256:8e3ba11ec2a2b39ab372c60c16b421536e50e5ce64a0bc81765c2e38381bcff6
2023/03/17 13:27:46 pushed blob: sha256:44f24b9e28ae59343ffa934fe08e8a4021098b0b6a3cf6a83bdf2a455a9b8fb6
2023/03/17 13:27:47 pushed blob: sha256:9ad48bb72a484756179cac6a180c9efd1d3fd87c9e1e752cab0471286c0fe6f6
2023/03/17 13:27:47 pushed blob: sha256:a30f471568fde2581b0cd1d15c3766662793efc04d2c1807aeea0f642e8645dd
2023/03/17 13:27:47 pushed blob: sha256:db0dd315c554b6dfe0cce2551114e92374deae4543a6e907dbae006d3ce17bdd
2023/03/17 13:27:48 pushed blob: sha256:96a8efa8fc9e566b457d67a84ccaf634659b26a13f1571a7ee5e80f3ce5d2116
2023/03/17 13:27:49 pushed blob: sha256:6db301f857bb19741eca5c484fde5f4b01a36362f6305dd5cb2912a65e9da88d
2023/03/17 13:27:50 ghcr.io/shaarli/shaarli:v0.10.0: digest: sha256:2c9ffc172715243ab90c5018610d6b5634d74bc673acc5edc9dafaf4d68fef57 size: 1992
deploy@demo1:~$ ./crane cp docker.io/shaarli/shaarli:v0.10.2 ghcr.io/shaarli/shaarli:v0.10.2
2023/03/17 13:28:05 Copying from docker.io/shaarli/shaarli:v0.10.2 to ghcr.io/shaarli/shaarli:v0.10.2
2023/03/17 13:28:06 existing blob: sha256:8e3ba11ec2a2b39ab372c60c16b421536e50e5ce64a0bc81765c2e38381bcff6
2023/03/17 13:28:08 pushed blob: sha256:62d58ec594997e52d490074916d9e246e91b575541d06355fdc5a14dbf2b3283
2023/03/17 13:28:08 pushed blob: sha256:3a5763dddce56addeab2b8378ed429c9a8292b87f78a27fb1b3682d5a0e6823e
2023/03/17 13:28:08 pushed blob: sha256:3033e60c53e426e3e7b9b5cf628282a7a0cd4897098279e8aa4c099b99637498
2023/03/17 13:28:09 pushed blob: sha256:2669ed015cfb0a8c6b08a4e8a5e7fc4505b54cfabb0df8829e8adbb63175e60b
2023/03/17 13:28:10 pushed blob: sha256:dd734a46238f39682dd73d46bc4ad534ccd2776a046c04436ea8de028b067aa1
2023/03/17 13:28:11 pushed blob: sha256:66fe6869dc71751400525452a0667fe9ad851485fd3b2b34c01f171a60c74ddb
2023/03/17 13:28:11 pushed blob: sha256:fa4d6997f2306dd89fd6baff31941a809da8440cfb1016b9e805823c45141327
2023/03/17 13:28:11 pushed blob: sha256:e091daff58d717b7ea7414a0cb16503fce9aa5e2892ae5a2b80bdb8a1b39fc86
2023/03/17 13:28:12 ghcr.io/shaarli/shaarli:v0.10.2: digest: sha256:19f6fdacc1e2ca2223d7eff16e36e87b84d8aadce3bee87ed33e5d1a07dc047b size: 1992
deploy@demo1:~$ ./crane cp docker.io/shaarli/shaarli:v0.10.3 ghcr.io/shaarli/shaarli:v0.10.3
2023/03/17 13:28:28 Copying from docker.io/shaarli/shaarli:v0.10.3 to ghcr.io/shaarli/shaarli:v0.10.3
2023/03/17 13:28:31 pushed blob: sha256:f02997ab83099590698383728cad3f8cdafc059ee0a96a27790da872eda851c2
2023/03/17 13:28:31 pushed blob: sha256:a22551fcf0fcc9fc1939b4bea6f716c715fd492079fd18c58cc058cde27e29e5
2023/03/17 13:28:31 pushed blob: sha256:169185f82c45a6eb72e0ca4ee66152626e7ace92a0cbc53624fb46d0a553f0bd
2023/03/17 13:28:32 pushed blob: sha256:57461b595a30574b170c277b257b41e3df375a951ab5ad6c42c5d4d906ffa862
2023/03/17 13:28:33 pushed blob: sha256:9c7fef1cedd8d616c6edea76c34c18abc9dd186c476c8bec8f944ec368efb500
2023/03/17 13:28:34 pushed blob: sha256:8bad98070a65cf415799eab08e2db215dae3e3014df5c6b13666f2c1ef072c5b
2023/03/17 13:28:34 pushed blob: sha256:95231acf61ca8aaa64caaa4e4bb23eba0811e541cccf2087bc2c070c01b11822
2023/03/17 13:28:34 pushed blob: sha256:6147325cf6ccce954c86fc9064ad610f80509795025373df2673f4ba288066fa
2023/03/17 13:28:36 pushed blob: sha256:aff51e45c857ea9654ad56c6a4ba4149f53e439c13fa9b9e7a78ec3fc978089d
2023/03/17 13:28:36 ghcr.io/shaarli/shaarli:v0.10.3: digest: sha256:a8cb4dd126f9fc33c2a11c7d3afbde0161fd96ee3a2d0d663953f9617f1afefd size: 1992
deploy@demo1:~$ ./crane cp docker.io/shaarli/shaarli:v0.10.4 ghcr.io/shaarli/shaarli:v0.10.4
2023/03/17 13:28:56 Copying from docker.io/shaarli/shaarli:v0.10.4 to ghcr.io/shaarli/shaarli:v0.10.4
2023/03/17 13:29:04 pushed blob: sha256:496056a0716b0a3660c1c9adfc627afa73c28958b5ee91a5dabde0a902def256
2023/03/17 13:29:04 pushed blob: sha256:c87736221ed0bcaa60b8e92a19bec2284899ef89226f2a07968677cf59e637a4
2023/03/17 13:29:04 pushed blob: sha256:1753da6fc8072a946a5749d5ec16309dd000abea51aceaf621edfa93dc4315a9
2023/03/17 13:29:05 pushed blob: sha256:6025bf76c70ea7e16c454002a1294f2cb1ba1761923121a65fcbfeb88fdea67a
2023/03/17 13:29:06 pushed blob: sha256:947c11903cd907c84d636147643dd65feca3e12eb3aa25f9152a4038dcb66647
2023/03/17 13:29:06 pushed blob: sha256:eb74bee3e3bc5c2ca8ae35284357cc9d698f5f4220c9cb330c6b1f68e2a517e1
2023/03/17 13:29:06 pushed blob: sha256:9f4e570b6c01f098f896cae761c61be139cb982e0190c3a0e2be21b960a980f2
2023/03/17 13:29:07 pushed blob: sha256:d3160a320e3bc3a5b43d90efd06cd5ccc03127d4de697a385cc30598bc6003c5
2023/03/17 13:29:09 pushed blob: sha256:accf3323775f76e7fd0ced7809930a624eff8e3d3e15ebdf3796fee7be8a67cb
2023/03/17 13:29:09 ghcr.io/shaarli/shaarli:v0.10.4: digest: sha256:87aca6d708535ba9d27fefa455610c20ee60bc8dd5f760c7ac2fa14e51efca71 size: 1992
deploy@demo1:~$ ./crane cp docker.io/shaarli/shaarli:v0.11.1 ghcr.io/shaarli/shaarli:v0.11.1
2023/03/17 13:29:26 Copying from docker.io/shaarli/shaarli:v0.11.1 to ghcr.io/shaarli/shaarli:v0.11.1
2023/03/17 13:29:27 existing blob: sha256:c87736221ed0bcaa60b8e92a19bec2284899ef89226f2a07968677cf59e637a4
2023/03/17 13:29:29 pushed blob: sha256:be2de349e1754a7e43cabee881e66c6fb4dc799f2682767c461c836737be6e08
2023/03/17 13:29:29 pushed blob: sha256:00e693a563a624a9bd4d33ec84badffe1e38b5c06a8c5cf09ae2d414c59a7279
2023/03/17 13:29:29 pushed blob: sha256:e3b0044e123e602439fa7707b82b27cb9455a5a34c77bcaf72288e4d2153fd1c
2023/03/17 13:29:30 pushed blob: sha256:6f5a2dd46ddb943ca58ab24a100db48beda83fb93e287b4ff1a9847eba84c6ec
2023/03/17 13:29:31 pushed blob: sha256:a27d7a57313f2941323582d160000973a200e9471e4d704acb2e52b11eee20d8
2023/03/17 13:29:32 pushed blob: sha256:65b5898c81e952cb9c665ad54e9ad9f5f1302b2afd53848efa49fa4ef0cd89d5
2023/03/17 13:29:33 pushed blob: sha256:1ecc9d477e379a7e1faa5cc4db59493733adf6f79a84b5bc1de1ea3c4e394c75
2023/03/17 13:29:33 pushed blob: sha256:315dcabea64f25faa6ce423ac4cc00f39f78facc325cfe5404f62c5275fe5285
2023/03/17 13:29:34 ghcr.io/shaarli/shaarli:v0.11.1: digest: sha256:1a8a89e6d90e861e2f6118fa68dc1db758b8645671349a7274bf1377abcb1629 size: 1992
deploy@demo1:~$ ./crane cp docker.io/shaarli/shaarli:v0.12.0 ghcr.io/shaarli/shaarli:v0.12.0
2023/03/17 13:29:58 Copying from docker.io/shaarli/shaarli:v0.12.0 to ghcr.io/shaarli/shaarli:v0.12.0
2023/03/17 13:30:01 pushed blob: sha256:c05529d136355ca383af4fb1d3f64a2aa83fda21741a1744c93e7283bea4c444
2023/03/17 13:30:01 pushed blob: sha256:effede2afb6b6055bcb04bc10809d9dcbf5e11fa15054daff518cefc4c918aa5
2023/03/17 13:30:01 pushed blob: sha256:486039affc0ad0f17f473efe8fb25c947515a8929198879d1e64210ef142372f
2023/03/17 13:30:02 pushed blob: sha256:0c9c7cfb09d5bb43cc019cac0fd713b3727f60304798b5d7705355894ecc26f8
2023/03/17 13:30:02 pushed blob: sha256:a7dfa48a622dca6f783380acde2107ed2b45ee761d8ef2e450d12d4dcd3cbe5c
2023/03/17 13:30:03 pushed blob: sha256:998cdff8536dd211c0dc9e4f6b87d604c7aee011fc47369befe3abcec92ba885
2023/03/17 13:30:04 pushed blob: sha256:8f982e33de1bb416c4ea9c3ea834a029a87206ab9ae84fbf238132bbc7ee4a80
2023/03/17 13:30:05 pushed blob: sha256:e1e8c022f864401a876b7c1673c23ded61273bdc03c569d005cd5c2bd64534c7
2023/03/17 13:30:06 pushed blob: sha256:c498b9d6dbb6985851c2cf6b997ca57e1814e7afb0e72b7db7f95a70bdb71f0c
2023/03/17 13:30:06 ghcr.io/shaarli/shaarli:v0.12.0: digest: sha256:3453be6c57ea9122716d795e6fb22d5b28a5d8ccb4e832f06b2efec5e4029d16 size: 1992
deploy@demo1:~$ ./crane cp docker.io/shaarli/shaarli:v0.12.1 ghcr.io/shaarli/shaarli:v0.12.1
2023/03/17 13:30:25 Copying from docker.io/shaarli/shaarli:v0.12.1 to ghcr.io/shaarli/shaarli:v0.12.1
2023/03/17 13:30:26 existing blob: sha256:486039affc0ad0f17f473efe8fb25c947515a8929198879d1e64210ef142372f
2023/03/17 13:30:28 pushed blob: sha256:01d2b286311d8741893662d9a02ad609eec3e2ca79f7f88e7f9ca11cc26486ab
2023/03/17 13:30:28 pushed blob: sha256:6439aa9f5ab1de4a3f84e46e91d83d0e4f49aa6aa5430180a8dfe82aeddc9882
2023/03/17 13:30:28 pushed blob: sha256:d11a4c864b771cf2b583235b97d3f028f97f0ffc8e2a8499eb8ab9cd11c664fe
2023/03/17 13:30:29 pushed blob: sha256:d79065b3b1f4058390fd0da7be0883aa9ac88823c360b3cd88b9dfb9cc651ff2
2023/03/17 13:30:30 pushed blob: sha256:534a8a375d93f075d54a33cc6c5cadad3861993a538e1322339dffd1a96e5ea0
2023/03/17 13:30:30 pushed blob: sha256:a2eacfa471ab9db5fbca0adda199959227d85c3998b24661f35ce420efaa268f
2023/03/17 13:30:31 pushed blob: sha256:d8359f860725667df9caac3157bf19d4d59fda3c8989a820fbe47772f7c1fdb1
2023/03/17 13:30:32 pushed blob: sha256:00c0f88f219949a8fb215153f47bc247d31e729a8a146d7bf6a841bfc022d5c1
2023/03/17 13:30:33 ghcr.io/shaarli/shaarli:v0.12.1: digest: sha256:7ff314bbed5f7b8c96c375c9f68ccdc80e653b5b691ffe5541aecfe2c5e6d6e7 size: 1992 |
|
This post https://www.docker.com/blog/we-apologize-we-did-a-terrible-job-announcing-the-end-of-docker-free-teams/ confirms that Shaarli is affected by the change:
|
i was running |
- dockerhub free team accounts will be deleted in < 30 days (https://www.docker.com/blog/we-apologize-we-did-a-terrible-job-announcing-the-end-of-docker-free-teams/), this affects the Shaarli team account - automated builds will keep pushing latest builds to dockerhub in addition to gchr.io, until the account is deleted - users relying on `shaarli/shaarli` OCI images are advised to migrate to `ghcr.io/shaarli/shaarli` as soon as possible - existing tagged images have been copied from https://hub.docker.com/r/shaarli/shaarli/ to https://github.com/shaarli/Shaarli/pkgs/container/shaarli/versions?filters%5Bversion_type%5D=tagged - prepend `ghcr.io/` to all references to OCI images - update all references to dockerhub -> github packages registry, update developer documentation, cleanup dead links - ref. shaarli#1948
- dockerhub free team accounts will be deleted in < 30 days (https://www.docker.com/blog/we-apologize-we-did-a-terrible-job-announcing-the-end-of-docker-free-teams/), this affects the Shaarli team account - automated builds will keep pushing latest builds to dockerhub in addition to gchr.io, until the account is deleted - **users relying on `shaarli/shaarli` OCI images are advised to migrate to `ghcr.io/shaarli/shaarli` as soon as possible** - existing tagged images have been copied from https://hub.docker.com/r/shaarli/shaarli/ to https://github.com/shaarli/Shaarli/pkgs/container/shaarli/versions?filters%5Bversion_type%5D=tagged - prepend `ghcr.io/` to all references to OCI images - update all references to dockerhub -> github packages registry, update developer documentation, cleanup dead links - ref. shaarli#1948
-> #1951 |
- dockerhub free team accounts will be deleted in < 30 days (https://www.docker.com/blog/we-apologize-we-did-a-terrible-job-announcing-the-end-of-docker-free-teams/), this affects the Shaarli team account - automated builds will keep pushing latest builds to dockerhub in addition to gchr.io, until the account is deleted - **users relying on `shaarli/shaarli` OCI images are advised to migrate to `ghcr.io/shaarli/shaarli` as soon as possible** - existing tagged images have been copied from https://hub.docker.com/r/shaarli/shaarli/ to https://github.com/shaarli/Shaarli/pkgs/container/shaarli/versions?filters%5Bversion_type%5D=tagged - prepend `ghcr.io/` to all references to OCI images - update all references to dockerhub -> github packages registry, update developer documentation, cleanup dead links - ref. shaarli#1948
Thanks! I have updated both my instance and the demo with the |
Shaarli's docker image is currently hosted on dockerhub, which has released a new policy that might endanger your hosting there. Do you have any plans for migrating hosting elsewhere?
The text was updated successfully, but these errors were encountered: