Skip to content

DCx14/kpush-ktag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Kpush / ktag

multi tag and push images for a registry

Installation

git clone https://github.com/DCx14/kpush-ktag.git
cd kpush-ktag
chmod a+x ktag && chmod a+x kpush
cp ktag /usr/local/bin && cp kpush /usr/local/bin

Utilisation

ktag

 ktag  frankenphp registry.private.fr/private-image/image-franken:v1.0:latest

Output :

root@H0st42:/# ktag  frankenphp  registry.private.fr/private-image/image-franken:v1.0:latest
 ---------------------------------------------------------------------------
+ | Image: frankenphp
  | | Repository: registry.private.fr/private-image/image-franken
    | |-- v1.0
    | |-- latest
 ---------------------------------------------------------------------------

Kpush

 kpush registry.private.fr/private-image/image-franken:v1.0:latest:stable

Output :

root@H0st42:/# kpush  registry.private.fr/private-image/image-franken:v1.0:latest:stable
Pushing registry.private.fr/private-image/image-franken:v1.0...
The push refers to repository [registry.private.fr/private-image/image-franken]
4f60957ad86f: Layer already exists 
...
32148f9f6c5a: Layer already exists 
v1.0: digest: sha256:72e04041b2864ee3458bdd722b92759551a8847bcbdf622d83ee5c1823088afbcc size: 3870
Successfully pushed registry.private.fr/private-image/image-franken:v1.0
Pushing registry.private.fr/private-image/image-franken:latest...
The push refers to repository [registry.private.fr/private-image/image-franken]
4f60957ad86f: Layer already exists 
...
32148f9f6c5a: Layer already exists 
latest: digest: sha256:72e04041b2864ee3458bdd722b92759551a8847bcbdf622d83ee5c1823088afbcc size: 3870
Successfully pushed registry.private.fr/private-image/image-franken:latest
Pushing registry.private.fr/private-image/image-franken:stable...
The push refers to repository [registry.private.fr/private-image/image-franken]
4f60957ad86f: Layer already exists 
...
32148f9f6c5a: Layer already exists 
stable: digest: sha256:72e04041b2864ee3458bdd722b92759551a8847bcbdf622d83ee5c1823088afbcc size: 3870
Successfully pushed registry.private.fr/private-image/image-franken:stable
---------------------------------------------------------------------------
All images pushed:
  | Image: registry.private.fr/private-image/image-franken
  | | Repository: registry.private.fr
    | |-- v1.0
    | |-- latest
    | |-- stable
  | -- 
---------------------------------------------------------------------------
All images pushed successfully.

About

tag and push multi tag in one command

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages