mirror of
https://github.com/regclient/regclient.git
synced 2025-04-18 22:44:00 +03:00
Merge pull request #903 from sudo-bmitch/pr-update-20250126
Version bump
This commit is contained in:
commit
a5ec31ab7e
2
.github/workflows/ci-registry.yml
vendored
2
.github/workflows/ci-registry.yml
vendored
@ -26,7 +26,7 @@ jobs:
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
||||
- name: "Set up Go ${{ env.RELEASE_GO_VER }}"
|
||||
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
|
||||
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
|
||||
with:
|
||||
go-version: "${{ env.RELEASE_GO_VER }}"
|
||||
check-latest: true
|
||||
|
6
.github/workflows/docker.yml
vendored
6
.github/workflows/docker.yml
vendored
@ -103,7 +103,7 @@ jobs:
|
||||
password: ${{ secrets.GHCR_TOKEN }}
|
||||
|
||||
- name: Build
|
||||
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d # v6.12.0
|
||||
uses: docker/build-push-action@ca877d9245402d1537745e0e356eab47c3520991 # v6.13.0
|
||||
id: build
|
||||
with:
|
||||
context: .
|
||||
@ -125,10 +125,10 @@ jobs:
|
||||
|
||||
- name: Install syft
|
||||
if: github.event_name != 'pull_request' && github.repository_owner == 'regclient'
|
||||
uses: anchore/sbom-action/download-syft@df80a981bc6edbc4e220a492d3cbe9f5547a6e75 # v0.17.9
|
||||
uses: anchore/sbom-action/download-syft@f325610c9f50a54015d37c8d16cb3b0e2c8f4de0 # v0.18.0
|
||||
id: syft
|
||||
with:
|
||||
syft-version: "v1.18.1"
|
||||
syft-version: "v1.19.0"
|
||||
|
||||
# Dogfooding, use regctl to modify regclient images to improve reproducibility
|
||||
- name: Install regctl
|
||||
|
6
.github/workflows/go.yml
vendored
6
.github/workflows/go.yml
vendored
@ -35,7 +35,7 @@ jobs:
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
||||
- name: "Set up Go ${{ matrix.gover }}"
|
||||
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
|
||||
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
|
||||
with:
|
||||
go-version: "${{ matrix.gover }}"
|
||||
check-latest: true
|
||||
@ -60,10 +60,10 @@ jobs:
|
||||
|
||||
- name: Install syft
|
||||
if: startsWith( github.ref, 'refs/tags/v' ) || github.ref == 'refs/heads/main'
|
||||
uses: anchore/sbom-action/download-syft@df80a981bc6edbc4e220a492d3cbe9f5547a6e75 # v0.17.9
|
||||
uses: anchore/sbom-action/download-syft@f325610c9f50a54015d37c8d16cb3b0e2c8f4de0 # v0.18.0
|
||||
id: syft
|
||||
with:
|
||||
syft-version: "v1.18.1"
|
||||
syft-version: "v1.19.0"
|
||||
|
||||
- name: Build artifacts
|
||||
if: startsWith( github.ref, 'refs/tags/v' ) || github.ref == 'refs/heads/main'
|
||||
|
2
.github/workflows/inactive-cleanup.yml
vendored
2
.github/workflows/inactive-cleanup.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
||||
issues: write # for actions/stale to close stale issues
|
||||
pull-requests: write # for actions/stale to close stale PRs
|
||||
steps:
|
||||
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
|
||||
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
|
||||
with:
|
||||
days-before-stale: 60
|
||||
days-before-close: 28
|
||||
|
2
.github/workflows/vulnscans.yml
vendored
2
.github/workflows/vulnscans.yml
vendored
@ -20,7 +20,7 @@ jobs:
|
||||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
||||
|
||||
- name: "Set up Go"
|
||||
uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
|
||||
uses: actions/setup-go@f111f3307d8850f501ac008e886eec1fd1932a34 # v5.3.0
|
||||
with:
|
||||
go-version: "${{ env.RELEASE_GO_VER }}"
|
||||
check-latest: true
|
||||
|
@ -1,6 +1,6 @@
|
||||
{"name":"docker-arg-alpine-digest","key":"docker.io/library/alpine:3.21.2","version":"sha256:56fa17d2a7e7f168a043a2712e63aed1f8543aeafdcee47c58dcffe38ed51099"}
|
||||
{"name":"docker-arg-alpine-tag","key":"docker.io/library/alpine","version":"3.21.2"}
|
||||
{"name":"docker-arg-ecr","key":"https://github.com/awslabs/amazon-ecr-credential-helper.git:main","version":"608f37feb051248b9d11476ef54b48f79b56a945"}
|
||||
{"name":"docker-arg-ecr","key":"https://github.com/awslabs/amazon-ecr-credential-helper.git:main","version":"cce4a4abc80d4486f48bca2f7dd95264e7a5d9e2"}
|
||||
{"name":"docker-arg-gcr","key":"https://github.com/GoogleCloudPlatform/docker-credential-gcr.git","version":"v2.1.26"}
|
||||
{"name":"docker-arg-go-digest","key":"docker.io/library/golang:1.23.5-alpine","version":"sha256:47d337594bd9e667d35514b241569f95fb6d95727c24b19468813d596d5ae596"}
|
||||
{"name":"docker-arg-go-tag","key":"docker.io/library/golang","version":"1.23.5"}
|
||||
@ -12,24 +12,24 @@
|
||||
{"name":"gha-cosign-version","key":"https://github.com/sigstore/cosign.git","version":"v2.4.1"}
|
||||
{"name":"gha-golang-matrix","key":"golang-matrix","version":"[\"1.21\", \"1.22\", \"1.23\"]"}
|
||||
{"name":"gha-golang-release","key":"golang-latest","version":"1.23"}
|
||||
{"name":"gha-syft-version","key":"docker.io/anchore/syft","version":"v1.18.1"}
|
||||
{"name":"gha-syft-version","key":"docker.io/anchore/syft","version":"v1.19.0"}
|
||||
{"name":"gha-uses-commit","key":"https://github.com/actions/checkout.git:v4.2.2","version":"11bd71901bbe5b1630ceea73d27597364c9af683"}
|
||||
{"name":"gha-uses-commit","key":"https://github.com/actions/setup-go.git:v5.2.0","version":"3041bf56c941b39c61721a86cd11f3bb1338122a"}
|
||||
{"name":"gha-uses-commit","key":"https://github.com/actions/stale.git:v9.0.0","version":"28ca1036281a5e5922ead5184a1bbf96e5fc984e"}
|
||||
{"name":"gha-uses-commit","key":"https://github.com/actions/setup-go.git:v5.3.0","version":"f111f3307d8850f501ac008e886eec1fd1932a34"}
|
||||
{"name":"gha-uses-commit","key":"https://github.com/actions/stale.git:v9.1.0","version":"5bef64f19d7facfb25b37b414482c7164d639639"}
|
||||
{"name":"gha-uses-commit","key":"https://github.com/actions/upload-artifact.git:v4.6.0","version":"65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08"}
|
||||
{"name":"gha-uses-commit","key":"https://github.com/anchore/sbom-action.git:v0.17.9","version":"df80a981bc6edbc4e220a492d3cbe9f5547a6e75"}
|
||||
{"name":"gha-uses-commit","key":"https://github.com/docker/build-push-action.git:v6.12.0","version":"67a2d409c0a876cbe6b11854e3e25193efe4e62d"}
|
||||
{"name":"gha-uses-commit","key":"https://github.com/anchore/sbom-action.git:v0.18.0","version":"f325610c9f50a54015d37c8d16cb3b0e2c8f4de0"}
|
||||
{"name":"gha-uses-commit","key":"https://github.com/docker/build-push-action.git:v6.13.0","version":"ca877d9245402d1537745e0e356eab47c3520991"}
|
||||
{"name":"gha-uses-commit","key":"https://github.com/docker/login-action.git:v3.3.0","version":"9780b0c442fbb1117ed29e0efdff1e18412f7567"}
|
||||
{"name":"gha-uses-commit","key":"https://github.com/docker/setup-buildx-action.git:v3.8.0","version":"6524bf65af31da8d45b59e8c27de4bd072b392f5"}
|
||||
{"name":"gha-uses-commit","key":"https://github.com/regclient/actions.git:main","version":"ce5fd131e371ffcdd7508b478cb223b3511a9183"}
|
||||
{"name":"gha-uses-commit","key":"https://github.com/sigstore/cosign-installer.git:v3.7.0","version":"dc72c7d5c4d10cd6bcb8cf6e3fd625a9e5e537da"}
|
||||
{"name":"gha-uses-commit","key":"https://github.com/softprops/action-gh-release.git:v2.2.1","version":"c95fe1489396fe8a9eb87c0abf8aa5b2ef267fda"}
|
||||
{"name":"gha-uses-semver","key":"https://github.com/actions/checkout.git","version":"v4.2.2"}
|
||||
{"name":"gha-uses-semver","key":"https://github.com/actions/setup-go.git","version":"v5.2.0"}
|
||||
{"name":"gha-uses-semver","key":"https://github.com/actions/stale.git","version":"v9.0.0"}
|
||||
{"name":"gha-uses-semver","key":"https://github.com/actions/setup-go.git","version":"v5.3.0"}
|
||||
{"name":"gha-uses-semver","key":"https://github.com/actions/stale.git","version":"v9.1.0"}
|
||||
{"name":"gha-uses-semver","key":"https://github.com/actions/upload-artifact.git","version":"v4.6.0"}
|
||||
{"name":"gha-uses-semver","key":"https://github.com/anchore/sbom-action.git","version":"v0.17.9"}
|
||||
{"name":"gha-uses-semver","key":"https://github.com/docker/build-push-action.git","version":"v6.12.0"}
|
||||
{"name":"gha-uses-semver","key":"https://github.com/anchore/sbom-action.git","version":"v0.18.0"}
|
||||
{"name":"gha-uses-semver","key":"https://github.com/docker/build-push-action.git","version":"v6.13.0"}
|
||||
{"name":"gha-uses-semver","key":"https://github.com/docker/login-action.git","version":"v3.3.0"}
|
||||
{"name":"gha-uses-semver","key":"https://github.com/docker/setup-buildx-action.git","version":"v3.8.0"}
|
||||
{"name":"gha-uses-semver","key":"https://github.com/sigstore/cosign-installer.git","version":"v3.7.0"}
|
||||
@ -43,9 +43,9 @@
|
||||
{"name":"makefile-markdown-lint","key":"docker.io/davidanson/markdownlint-cli2","version":"v0.17.2"}
|
||||
{"name":"makefile-osv-scanner","key":"https://github.com/google/osv-scanner.git","version":"v1.9.2"}
|
||||
{"name":"makefile-staticcheck","key":"https://github.com/dominikh/go-tools.git","version":"v0.5.1"}
|
||||
{"name":"makefile-syft-container-digest","key":"anchore/syft:v1.18.1","version":"sha256:b8c170b8e51bfc4779ec3ef4399942c57290f5ce76a9c3af564c9d00d4946a6b"}
|
||||
{"name":"makefile-syft-container-tag","key":"anchore/syft","version":"v1.18.1"}
|
||||
{"name":"makefile-syft-version","key":"docker.io/anchore/syft","version":"v1.18.1"}
|
||||
{"name":"makefile-syft-container-digest","key":"anchore/syft:v1.19.0","version":"sha256:bc1ae555a43011d23bb011a4f50e175fc9a5984a008a3f8f2d692b211fcacd2a"}
|
||||
{"name":"makefile-syft-container-tag","key":"anchore/syft","version":"v1.19.0"}
|
||||
{"name":"makefile-syft-version","key":"docker.io/anchore/syft","version":"v1.19.0"}
|
||||
{"name":"osv-golang-release","key":"docker.io/library/golang","version":"1.23.5"}
|
||||
{"name":"shell-alpine-digest","key":"docker.io/library/alpine:3.21.2","version":"sha256:56fa17d2a7e7f168a043a2712e63aed1f8543aeafdcee47c58dcffe38ed51099"}
|
||||
{"name":"shell-alpine-tag-base","key":"docker.io/library/alpine","version":"3"}
|
||||
|
4
Makefile
4
Makefile
@ -40,8 +40,8 @@ GO_VULNCHECK_VER?=v1.1.4
|
||||
OSV_SCANNER_VER?=v1.9.2
|
||||
SYFT?=$(shell command -v syft 2>/dev/null)
|
||||
SYFT_CMD_VER:=$(shell [ -x "$(SYFT)" ] && echo "v$$($(SYFT) version | awk '/^Version: / {print $$2}')" || echo "0")
|
||||
SYFT_VERSION?=v1.18.1
|
||||
SYFT_CONTAINER?=anchore/syft:v1.18.1@sha256:b8c170b8e51bfc4779ec3ef4399942c57290f5ce76a9c3af564c9d00d4946a6b
|
||||
SYFT_VERSION?=v1.19.0
|
||||
SYFT_CONTAINER?=anchore/syft:v1.19.0@sha256:bc1ae555a43011d23bb011a4f50e175fc9a5984a008a3f8f2d692b211fcacd2a
|
||||
ifneq "$(SYFT_CMD_VER)" "$(SYFT_VERSION)"
|
||||
SYFT=docker run --rm \
|
||||
-v "$(shell pwd)/:$(shell pwd)/" -w "$(shell pwd)" \
|
||||
|
@ -1,7 +1,7 @@
|
||||
ARG REGISTRY=docker.io
|
||||
ARG ALPINE_VER=3.21.2@sha256:56fa17d2a7e7f168a043a2712e63aed1f8543aeafdcee47c58dcffe38ed51099
|
||||
ARG GO_VER=1.23.5-alpine@sha256:47d337594bd9e667d35514b241569f95fb6d95727c24b19468813d596d5ae596
|
||||
ARG ECR_HELPER_VER=608f37feb051248b9d11476ef54b48f79b56a945
|
||||
ARG ECR_HELPER_VER=cce4a4abc80d4486f48bca2f7dd95264e7a5d9e2
|
||||
ARG GCR_HELPER_VER=v2.1.26
|
||||
ARG LUNAJSON_COMMIT=3d10600874527d71519b33ecbb314eb93ccd1df6
|
||||
ARG SEMVER_COMMIT=af495adc857d51fd1507a112be18523828a1da0d
|
||||
|
@ -3,7 +3,7 @@
|
||||
ARG REGISTRY=docker.io
|
||||
ARG ALPINE_VER=3.21.2@sha256:56fa17d2a7e7f168a043a2712e63aed1f8543aeafdcee47c58dcffe38ed51099
|
||||
ARG GO_VER=1.23.5-alpine@sha256:47d337594bd9e667d35514b241569f95fb6d95727c24b19468813d596d5ae596
|
||||
ARG ECR_HELPER_VER=608f37feb051248b9d11476ef54b48f79b56a945
|
||||
ARG ECR_HELPER_VER=cce4a4abc80d4486f48bca2f7dd95264e7a5d9e2
|
||||
ARG GCR_HELPER_VER=v2.1.26
|
||||
ARG LUNAJSON_COMMIT=3d10600874527d71519b33ecbb314eb93ccd1df6
|
||||
ARG SEMVER_COMMIT=af495adc857d51fd1507a112be18523828a1da0d
|
||||
|
@ -1,7 +1,7 @@
|
||||
ARG REGISTRY=docker.io
|
||||
ARG ALPINE_VER=3.21.2@sha256:56fa17d2a7e7f168a043a2712e63aed1f8543aeafdcee47c58dcffe38ed51099
|
||||
ARG GO_VER=1.23.5-alpine@sha256:47d337594bd9e667d35514b241569f95fb6d95727c24b19468813d596d5ae596
|
||||
ARG ECR_HELPER_VER=608f37feb051248b9d11476ef54b48f79b56a945
|
||||
ARG ECR_HELPER_VER=cce4a4abc80d4486f48bca2f7dd95264e7a5d9e2
|
||||
ARG GCR_HELPER_VER=v2.1.26
|
||||
|
||||
FROM ${REGISTRY}/library/golang:${GO_VER} AS golang
|
||||
|
@ -3,7 +3,7 @@
|
||||
ARG REGISTRY=docker.io
|
||||
ARG ALPINE_VER=3.21.2@sha256:56fa17d2a7e7f168a043a2712e63aed1f8543aeafdcee47c58dcffe38ed51099
|
||||
ARG GO_VER=1.23.5-alpine@sha256:47d337594bd9e667d35514b241569f95fb6d95727c24b19468813d596d5ae596
|
||||
ARG ECR_HELPER_VER=608f37feb051248b9d11476ef54b48f79b56a945
|
||||
ARG ECR_HELPER_VER=cce4a4abc80d4486f48bca2f7dd95264e7a5d9e2
|
||||
ARG GCR_HELPER_VER=v2.1.26
|
||||
|
||||
FROM --platform=$BUILDPLATFORM ${REGISTRY}/library/golang:${GO_VER} AS golang
|
||||
|
@ -1,7 +1,7 @@
|
||||
ARG REGISTRY=docker.io
|
||||
ARG ALPINE_VER=3.21.2@sha256:56fa17d2a7e7f168a043a2712e63aed1f8543aeafdcee47c58dcffe38ed51099
|
||||
ARG GO_VER=1.23.5-alpine@sha256:47d337594bd9e667d35514b241569f95fb6d95727c24b19468813d596d5ae596
|
||||
ARG ECR_HELPER_VER=608f37feb051248b9d11476ef54b48f79b56a945
|
||||
ARG ECR_HELPER_VER=cce4a4abc80d4486f48bca2f7dd95264e7a5d9e2
|
||||
ARG GCR_HELPER_VER=v2.1.26
|
||||
|
||||
FROM ${REGISTRY}/library/golang:${GO_VER} AS golang
|
||||
|
@ -3,7 +3,7 @@
|
||||
ARG REGISTRY=docker.io
|
||||
ARG ALPINE_VER=3.21.2@sha256:56fa17d2a7e7f168a043a2712e63aed1f8543aeafdcee47c58dcffe38ed51099
|
||||
ARG GO_VER=1.23.5-alpine@sha256:47d337594bd9e667d35514b241569f95fb6d95727c24b19468813d596d5ae596
|
||||
ARG ECR_HELPER_VER=608f37feb051248b9d11476ef54b48f79b56a945
|
||||
ARG ECR_HELPER_VER=cce4a4abc80d4486f48bca2f7dd95264e7a5d9e2
|
||||
ARG GCR_HELPER_VER=v2.1.26
|
||||
|
||||
FROM --platform=$BUILDPLATFORM ${REGISTRY}/library/golang:${GO_VER} AS golang
|
||||
|
Loading…
x
Reference in New Issue
Block a user