-
1.0.1
StableAll checks were successfulreleased this
2026-04-18 10:50:34 +00:00 | 0 commits to main since this releaseWhat's new
Maintenance
- Update module code.thinkaboutit.tech/pandora/woodpecker-utils.gopack to v1.2.0 #3
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
-
1.0.0
StableAll checks were successfulreleased this
2026-04-12 19:00:51 +00:00 | 1 commits to main since this releaseImage copy Woodpecker CI plugin
This plugin copies images between registries. It has two way to call depends on
the target environment.Sample
images.inifile:TargetRegistry=test-home.lan:3000 ProdOwner=ati StagingOwner=foo-org Image=gcr.io/distroless/static-debian13:nonroot@sha256:64c43684e6d2b581d1eb362ea47b6a4defee6a9cac5f7ebbda3daa67e8c9b8e6 Image=gcr.io/distroless/base-debian13:nonroot@sha256:6a6b038a85cd9e1e540bd8aae8684d9ac7756afe570bb4cc49320269704b2b3a Image=codeberg.org/forgejo/forgejo:14.0.3-rootless@sha256:097085e8a67e8793439a3ce2fe7b74ee7c28ef9073268a9d5d3d923864ba125cIt has three modes:
- Copy from source to staging registry:
mode: staging - Copy from staging registry to production:
mode: production - Perform validation on the config file:
mode: validation
The validation contains the following:
- Parse the
images.inifile. - Verify that images are exists in the config file.
Ideal workflow looks like:
- Renovate update the
images.inifile in case of new version. - After merge happen, for the main push event, this plugin is called with
staging environment. So if anything would happen with the source, image
already saved. - After that a security check is done, and if no critical CVE, then this plugin
called again with production environment.
Usage
No technical restriction, plugin can be used at any event.
Sample for staging mode:
steps: - name: Copy to staging environment image: code.thinkaboutit.tech/pandora/image-copy.woodpecker:latest settings: debug: true mode: staging forgejo_token: from_secret: ci-token forgejo_user: ci-userSample for validation mode:
steps: - name: Copy to staging environment image: code.thinkaboutit.tech/pandora/image-copy.woodpecker:latest settings: debug: true mode: validation forgejo_token: placeholder forgejo_user: placeholderAccess token needs to have
read:repository,write:packagescopes.Settings
Name Default value Description context Project_root Directory of images.inifileforgejo_user* Used for authentucation in staging and prod forgejo_token* Used for authentiation for staging and prod mode It can be 'staging', 'production' or 'validation' allow_insecure false Enable to use insecure registry *: For 'validation' mode, they are not used, but must have a placeholder value.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- Copy from source to staging registry:
generated from pandora/woodpecker-plugin.template