1
0
mirror of https://github.com/regclient/regclient.git synced 2025-04-18 22:44:00 +03:00

1529 Commits

Author SHA1 Message Date
Brandon Mitchell
40da38df33
Merge pull request #799 from sudo-bmitch/pr-update-20240803
Version bump
2024-08-03 15:36:18 -04:00
Brandon Mitchell
ca3bf90686
Version bump
- actions/upload-artifact to v4.3.5
- docker/setup-buildx-action to v3.6.1
- AWS credential helper to latest commit
- anchore/syft to v1.10.0

Signed-off-by: Brandon Mitchell <git@bmitch.net>
2024-08-03 15:33:40 -04:00
Brandon Mitchell
5f31b05e4e
Merge pull request #798 from sudo-bmitch/pr-ref-digest
Fix: Validate the digest of the ref when provided
2024-08-02 11:49:51 -04:00
Brandon Mitchell
7d17cff26c
Fix: Validate the digest of the ref when provided
This prefers the user provided digest for the manifest over the registry header when it is available.

Signed-off-by: Brandon Mitchell <git@bmitch.net>
2024-08-02 11:44:08 -04:00
Brandon Mitchell
f869cf45b1
Merge pull request #796 from sudo-bmitch/pr-update-20240726
Version bump
2024-07-26 16:04:40 -04:00
Brandon Mitchell
6e488666ce
Version bump
- anchore/sbom-action to v0.17.0
- docker/build-push-action to v6.5.0
- docker/login-action to v3.3.0
- docker/setup-buildx-action to v3.5.0
- github/codeql-action to v3.25.15
- ossf/scorecard-action to v2.4.0
- softprops/action-gh-release to v2.0.8
- GCR credential helper to v2.1.23
- sigstore/cosign to v2.3.0
- govulncheck to v1.1.3
- alpine base image to v3.20.2

Signed-off-by: Brandon Mitchell <git@bmitch.net>
2024-07-26 16:01:28 -04:00
Brandon Mitchell
c2a4ce2dde
Merge pull request #795 from sudo-bmitch/pr-artifact-config
Option to output config with regctl artifact get
2024-07-26 15:55:45 -04:00
Brandon Mitchell
cedfa5aae5
Option to output config with regctl artifact get
Signed-off-by: Brandon Mitchell <git@bmitch.net>
2024-07-26 15:50:27 -04:00
Brandon Mitchell
435bf9c0fa
Merge pull request #794 from sudo-bmitch/pr-funding
Add funding.yml
2024-07-26 10:55:44 -04:00
Brandon Mitchell
aa9fcd464d
Add funding.yml
Signed-off-by: Brandon Mitchell <git@bmitch.net>
2024-07-26 10:52:26 -04:00
Brandon Mitchell
f91402ced4
Merge pull request #788 from sudo-bmitch/pr-tar-slash
Tar paths should use forward slashes
2024-07-22 22:34:33 -04:00
Brandon Mitchell
6e93ed083c
Tar file should use forward slashes
Signed-off-by: Brandon Mitchell <git@bmitch.net>
2024-07-22 13:32:17 -04:00
Brandon Mitchell
d888dffbc7
Merge pull request #784 from mmonaco/main
Add WithDockerCredsFile() RegClient Opt
2024-07-20 16:50:05 -04:00
Matthew Monaco
a5e9903da3 Add WithDockerCredsFile() RegClient Opt
Make it easier to pull creds from a docker config.json outside of the
standard location, without needing environmental variables. For example,
a mounted K8s Secret of type `kubernetes.io/dockerconfigjson`.

Signed-off-by: Matthew Monaco <matt@monaco.cx>
2024-07-19 23:07:31 -06:00
Brandon Mitchell
79b127d550
Merge pull request #783 from sudo-bmitch/pr-mod-manifest-fix
Fix: Mod tracking of changed manifests
2024-07-15 15:57:06 -04:00
Brandon Mitchell
131ec252a8
Fix: Mod tracking of changed manifests
Added or deleted manifests should not be changed to replaced, only unchanged.

Signed-off-by: Brandon Mitchell <git@bmitch.net>
2024-07-15 15:54:05 -04:00
Brandon Mitchell
0702d30a03
Merge pull request #782 from sudo-bmitch/pr-platform-variant-fix
Fix platform detection
2024-07-14 13:52:49 -04:00
Brandon Mitchell
8063956052
Fix platform detection
The `bitIsSet` function was returning the wrong value, forcing nodes to v1.
This also adjusts the automatic appending of the variant to only happen when short values are provided.
This avoids changing `linux/amd64` to `linux/amd64/vx` which would break existing users.

Signed-off-by: Brandon Mitchell <git@bmitch.net>
2024-07-14 13:40:53 -04:00
Brandon Mitchell
05f551c4ab
Merge pull request #780 from sudo-bmitch/pr-remove-gha-docker-cache
Remove docker build caching to GHA
2024-07-12 15:22:30 -04:00
Brandon Mitchell
4b8f9e332b
Remove docker build caching to GHA
This didn't increase the cache hit rate and ultimately slowed down the build.
Most likely the GHA cache isn't large enough.

Signed-off-by: Brandon Mitchell <git@bmitch.net>
2024-07-12 15:19:11 -04:00
Brandon Mitchell
368eceb080
Merge pull request #779 from sudo-bmitch/pr-update-20240712
Version bump
2024-07-12 14:32:42 -04:00
Brandon Mitchell
be80198e9d
Version bump
- actions/setup-go to v5.0.2
- anchore/sbom-action to v0.16.1
- github/codeql-action to v3.25.12
- ECR Helper to latest commit
- google/osv-scanner to v1.8.2
- icholy/gomajor to v0.13.1
- anchore/syft to v1.9.0
- project-zot to v 2.1.0

Signed-off-by: Brandon Mitchell <git@bmitch.net>
2024-07-12 14:22:01 -04:00
Brandon Mitchell
10043152ef
Merge pull request #778 from sudo-bmitch/pr-digest-algo-manifest-put
Support pushing tagged manifests with different digest algorithms
2024-07-12 11:01:32 -04:00
Brandon Mitchell
6c91f44ac4
Support pushing tagged manifests with different digest algorithms
These parameters are currently experimental and not standardized by OCI yet.

Signed-off-by: Brandon Mitchell <git@bmitch.net>
2024-07-12 10:54:51 -04:00
Brandon Mitchell
410091ab2d
Merge pull request #777 from sudo-bmitch/pr-update-20240707
Version bump
2024-07-07 16:43:43 -04:00
Brandon Mitchell
090fb6702a
Version bump
- Go to 1.22.5
- actions/upload-artifact to v4.3.4
- docker/build-push-action to v6.3.0
- docker/setup-buildx-action to v3.4.0
- github/codeql-action to v3.25.11
- ECR Helper to latest commit
- icholy/gomajor to v0.12.0
- anchore/syft to v1.8.0
- golang.org/x/sys to v0.22.0
- golang.org/x/term to v0.22.0

Signed-off-by: Brandon Mitchell <git@bmitch.net>
2024-07-07 16:35:50 -04:00
Brandon Mitchell
2eb59c03b6
Merge pull request #776 from sudo-bmitch/pr-digest-algo
Support changing digest algorithm
2024-07-07 14:48:14 -04:00
Brandon Mitchell
e805426203
Support changing digest algorithm
This adds validation and the ability to modify the digest.

Signed-off-by: Brandon Mitchell <git@bmitch.net>
2024-07-07 11:44:40 -04:00
Brandon Mitchell
5c868ae1b6
Merge pull request #774 from sudo-bmitch/pr-contributors
Include a contributor list in the readme
2024-06-27 20:29:47 -04:00
Brandon Mitchell
59c20e2529
Include a contributor list in the readme
Signed-off-by: Brandon Mitchell <git@bmitch.net>
2024-06-27 17:24:47 -04:00
Brandon Mitchell
1c7eb2aff0
Merge pull request #773 from sudo-bmitch/pr-gha-docker-cache
Enable docker caching of GHA builds
2024-06-27 17:16:15 -04:00
Brandon Mitchell
77b31b9518
Enable docker caching of GHA builds
Signed-off-by: Brandon Mitchell <git@bmitch.net>
2024-06-27 17:11:38 -04:00
Brandon Mitchell
fbc8a2e29f
Merge pull request #772 from sudo-bmitch/pr-remove-rwfs
Remove rwfs internal package
2024-06-27 10:03:23 -04:00
Brandon Mitchell
16a9d83434
Remove rwfs internal package
This was used for test implementations that were better handled with t.TempDir or olareg backed by memory.

Signed-off-by: Brandon Mitchell <git@bmitch.net>
2024-06-26 17:21:24 -04:00
Brandon Mitchell
5d55dbb44b
Merge pull request #771 from sudo-bmitch/pr-platform-arch
Allow well known architectures as a platform
2024-06-24 11:27:20 -04:00
Brandon Mitchell
f40ed0b8ea
Allow well known architectures as a platform
This is a shortcut permitted in containerd and other projects.

Signed-off-by: Brandon Mitchell <git@bmitch.net>
2024-06-24 11:20:18 -04:00
Brandon Mitchell
bfb5feb025
Merge pull request #770 from sudo-bmitch/pr-dockerfile-lint
Cleanup Dockerfile linter warnings
2024-06-23 14:05:15 -04:00
Brandon Mitchell
17883be4f5
Cleanup Dockerfile linter warnings
Signed-off-by: Brandon Mitchell <git@bmitch.net>
2024-06-23 13:50:03 -04:00
Brandon Mitchell
ed8c652aa8
Merge pull request #769 from sudo-bmitch/pr-update-20240623
Version bump
2024-06-23 10:55:53 -04:00
Brandon Mitchell
c14d0db7d2
Version bump
- actions/checkout to v4.1.7
- docker/build-push-action to v6.1.0
- github/codeql-action to v3.25.10
- softprops/action-gh-release to v2.0.6
- ECR helper to latest commit
- google-osv-scanner to v1.8.1
- anchore-syft to v1.7.0
- Alpine to 3.20.1
- klauspost/compress to v1.17.9
- spf13/cobra to v1.8.1

Signed-off-by: Brandon Mitchell <git@bmitch.net>
2024-06-23 10:52:07 -04:00
Brandon Mitchell
0c62dd0705
Merge pull request #768 from sudo-bmitch/pr-platform-refactor
Refactor pulling a platform specific manifest
2024-06-23 10:30:34 -04:00
Brandon Mitchell
5e05f50a3c
Refactor pulling a platform specific manifest
Signed-off-by: Brandon Mitchell <git@bmitch.net>
2024-06-23 10:23:53 -04:00
Brandon Mitchell
c1c6ae0a77
Merge pull request #765 from sudo-bmitch/pr-regctl-ref
Add an experimental regctl ref command
2024-06-19 11:19:50 -04:00
Brandon Mitchell
11f112c3bb
Add an experimental regctl ref command
Signed-off-by: Brandon Mitchell <git@bmitch.net>
2024-06-19 11:14:12 -04:00
Brandon Mitchell
7bafb95778
Merge pull request #763 from thesayyn/allow_tilde
feat: allow ~ (tilde) in reference paths
2024-06-11 03:30:39 -04:00
thesayyn
710f8d3b71
feat: allow ~ (tilde) in reference paths
Signed-off-by: thesayyn <thesayyn@gmail.com>
2024-06-10 13:47:42 -07:00
Brandon Mitchell
3692d29333
Merge pull request #762 from sudo-bmitch/pr-update-20240609
Version bump
2024-06-09 11:56:47 -04:00
Brandon Mitchell
74d7c5644c
Version bump
- github/codeql-action to v3.25.8
- ECR credential helper to latest commit
- govulncheck to v1.1.2
- Go to 1.22.4
- golang.org/x/sys to v0.21.0
- golang.org/x/term to v0.21.0
- Fixes  CVE-2024-24790

Signed-off-by: Brandon Mitchell <git@bmitch.net>
2024-06-09 11:52:57 -04:00
Brandon Mitchell
290cc4bf1e
Merge pull request #759 from sudo-bmitch/pr-update-20240602
Version bump
2024-06-02 11:49:58 -04:00
Brandon Mitchell
6957b7d1d3
Version bump
- docker/login-action to v3.2.0
- github/codeql-action to v3.25.7
- google/osv-scanner to v1.7.4
- icholy/gomajor to v0.11.0
- Go image digest
- anchore/syft to v1.5.0

Signed-off-by: Brandon Mitchell <git@bmitch.net>
2024-06-02 11:41:43 -04:00