diff --git a/.github/workflows/__test-action-docker-build-image.yml b/.github/workflows/__test-action-docker-build-image.yml index c5c96d25..09b2600a 100644 --- a/.github/workflows/__test-action-docker-build-image.yml +++ b/.github/workflows/__test-action-docker-build-image.yml @@ -42,11 +42,16 @@ jobs: - name: Assert - Check built image output uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + env: + BUILT_IMAGE_OUTPUT: ${{ steps.build-image.outputs.built-image }} with: script: | const assert = require("assert"); + const pullRequestNumber = context.payload.pull_request?.number; + const refName = process.env.GITHUB_REF_NAME; + const defaultBranch = context.payload.repository?.default_branch; - const builtImageOutput = ${{ toJSON(steps.build-image.outputs.built-image) }}; + const builtImageOutput = process.env.BUILT_IMAGE_OUTPUT; assert(builtImageOutput, `"built-image" output is empty`); let builtImage; @@ -111,20 +116,20 @@ jobs: const expectedTags = []; let expectedImageVersion; - if (`${{ github.event_name }}` === "pull_request") { - const shortSha = `${{ github.sha }}`.substring(0, 7); - const prShaTag = `pr-${{ github.event.pull_request.number }}-${shortSha}`; - const prTag = `pr-${{ github.event.pull_request.number }}`; + if (context.eventName === "pull_request") { + const shortSha = context.sha.substring(0, 7); + const prShaTag = `pr-${pullRequestNumber}-${shortSha}`; + const prTag = `pr-${pullRequestNumber}`; expectedTags.push(prShaTag, prTag); expectedImageVersion = prTag; } else { - const refTag = `${{ github.ref_name }}`; + const refTag = refName; expectedTags.push(refTag); expectedImageVersion = refTag; - const isTag = `${{ github.ref }}`.startsWith('refs/tags/'); - const isPushOnDefaultBranch = `${{ github.event_name }}` === "push" && !isTag && refTag === "${{ github.event.repository.default_branch }}"; + const isTag = context.ref.startsWith('refs/tags/'); + const isPushOnDefaultBranch = context.eventName === "push" && !isTag && refTag === defaultBranch; if (isPushOnDefaultBranch) { expectedTags.push("latest"); @@ -202,11 +207,13 @@ jobs: - name: Assert - Check built image output uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + env: + BUILT_IMAGE_OUTPUT: ${{ steps.build-image.outputs.built-image }} with: script: | const assert = require("assert"); - const builtImageOutput = ${{ toJSON(steps.build-image.outputs.built-image) }}; + const builtImageOutput = process.env.BUILT_IMAGE_OUTPUT; assert(builtImageOutput, `"built-image" output is empty`); let builtImage; @@ -303,11 +310,13 @@ jobs: - name: Assert - Check built image output uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + env: + BUILT_IMAGE_OUTPUT: ${{ steps.build-image.outputs.built-image }} with: script: | const assert = require("assert"); - const builtImageOutput = ${{ toJSON(steps.build-image.outputs.built-image) }}; + const builtImageOutput = process.env.BUILT_IMAGE_OUTPUT; assert(builtImageOutput, `"built-image" output is empty`); let builtImage; diff --git a/.github/workflows/__test-action-docker-prune-pull-requests-image-tags.yml b/.github/workflows/__test-action-docker-prune-pull-requests-image-tags.yml index ef1d2cb5..5abd4bea 100644 --- a/.github/workflows/__test-action-docker-prune-pull-requests-image-tags.yml +++ b/.github/workflows/__test-action-docker-prune-pull-requests-image-tags.yml @@ -114,7 +114,7 @@ jobs: const packagePayload = { package_type: 'container', package_name: packageName, - org: process.env.GITHUB_REPOSITORY_OWNER, + org: context.repo.owner, }; // Ensure that package exists @@ -192,7 +192,7 @@ jobs: const packagePayload = { package_type: 'container', package_name: packageName, - org: process.env.GITHUB_REPOSITORY_OWNER, + org: context.repo.owner, }; // Ensure that package still exists @@ -267,6 +267,6 @@ jobs: return github.rest.packages.deletePackageForOrg({ package_type: 'container', package_name: packageName, - org: process.env.GITHUB_REPOSITORY_OWNER, + org: context.repo.owner, }); })); diff --git a/.github/workflows/__test-action-get-image-metadata.yml b/.github/workflows/__test-action-get-image-metadata.yml index 81d6d607..c366caab 100644 --- a/.github/workflows/__test-action-get-image-metadata.yml +++ b/.github/workflows/__test-action-get-image-metadata.yml @@ -27,15 +27,23 @@ jobs: - name: Assert - Check get image metadata ouputs uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + env: + IMAGE_OUTPUT: ${{ steps.get-image-metadata.outputs.image }} + LABELS_OUTPUT: ${{ steps.get-image-metadata.outputs.labels }} + ANNOTATIONS_OUTPUT: ${{ steps.get-image-metadata.outputs.annotations }} + TAGS_OUTPUT: ${{ steps.get-image-metadata.outputs.tags }} with: script: | const assert = require("assert"); + const pullRequestNumber = context.payload.pull_request?.number; + const refName = process.env.GITHUB_REF_NAME; + const defaultBranch = context.payload.repository?.default_branch; - const imageOutput = `${{ steps.get-image-metadata.outputs.image }}`; + const imageOutput = process.env.IMAGE_OUTPUT; assert(imageOutput.length, `"image" output is empty`); assert.equal(imageOutput,"ghcr.io/hoverkraft-tech/ci-github-container/application-test", `"image" output is not valid`); - const labelsOutput = `${{ steps.get-image-metadata.outputs.labels }}`; + const labelsOutput = process.env.LABELS_OUTPUT; assert(labelsOutput.length, `"labels" output is empty`); assert( labelsOutput.startsWith("org.opencontainers.image.created"), @@ -51,7 +59,7 @@ jobs: `"labels" output is not valid` ); - const annotationsOutput = `${{ steps.get-image-metadata.outputs.annotations }}`; + const annotationsOutput = process.env.ANNOTATIONS_OUTPUT; assert(annotationsOutput.length, `"annotations" output is empty`); const expectedManifestAnnotations = expectedLabels.split("\n").map(line => { @@ -74,7 +82,7 @@ jobs: `"annotations - manifest-descriptor" output is not valid` ); - const tagsOutput = `${{ steps.get-image-metadata.outputs.tags }}`; + const tagsOutput = process.env.TAGS_OUTPUT; assert(tagsOutput.length, `"tags" output is empty`); const tags = tagsOutput.split("\n").filter(Boolean); @@ -82,18 +90,18 @@ jobs: const expectedTags = []; - if (`${{ github.event_name }}` === "pull_request") { - const shortSha = `${{ github.sha }}`.substring(0, 7); - const prShaTag = `pr-${{ github.event.pull_request.number }}-${shortSha}`; - const prTag = `pr-${{ github.event.pull_request.number }}`; + if (context.eventName === "pull_request") { + const shortSha = context.sha.substring(0, 7); + const prShaTag = `pr-${pullRequestNumber}-${shortSha}`; + const prTag = `pr-${pullRequestNumber}`; expectedTags.push(prShaTag, prTag); } else { - const refTag = `${{ github.ref_name }}`; + const refTag = refName; expectedTags.push(refTag); - const isTag = `${{ github.ref }}`.startsWith('refs/tags/'); - const isPushOnDefaultBranch = `${{ github.event_name }}` === "push" && !isTag && refTag === "${{ github.event.repository.default_branch }}"; + const isTag = context.ref.startsWith('refs/tags/'); + const isPushOnDefaultBranch = context.eventName === "push" && !isTag && refTag === defaultBranch; if (isPushOnDefaultBranch) { expectedTags.push("latest"); @@ -103,7 +111,7 @@ jobs: assert.equal( tags.length, expectedTags.length, - `"tags" output must contain ${expectedTags.length} tags for ${{ github.event_name }} event` + `"tags" output must contain ${expectedTags.length} tags for ${context.eventName} event` ); for(const expectedTag of expectedTags) { @@ -134,11 +142,13 @@ jobs: - name: Assert - Check get image metadata ouputs uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + env: + TAGS_OUTPUT: ${{ steps.get-image-metadata.outputs.tags }} with: script: | const assert = require("assert"); - const tagsOutput = `${{ steps.get-image-metadata.outputs.tags }}`; + const tagsOutput = process.env.TAGS_OUTPUT; assert(tagsOutput.length, `"tags" output is empty`); assert.equal( tagsOutput, diff --git a/.github/workflows/__test-action-get-image-name.yml b/.github/workflows/__test-action-get-image-name.yml index 7c57ddd7..4c135ec3 100644 --- a/.github/workflows/__test-action-get-image-name.yml +++ b/.github/workflows/__test-action-get-image-name.yml @@ -26,13 +26,16 @@ jobs: - name: Check get image name ouputs uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + env: + IMAGE_NAME_OUTPUT: ${{ steps.get-image-name.outputs.image-name }} + FULL_IMAGE_NAME_OUTPUT: ${{ steps.get-image-name.outputs.image-name-with-registry }} with: script: | /* jscpd:ignore-start */ const assert = require("assert"); - const imageNameOutput = `${{ steps.get-image-name.outputs.image-name }}`; - const fullImageNameOutput = `${{ steps.get-image-name.outputs.image-name-with-registry }}`; + const imageNameOutput = process.env.IMAGE_NAME_OUTPUT; + const fullImageNameOutput = process.env.FULL_IMAGE_NAME_OUTPUT; assert(imageNameOutput.length, `"image-name" output is empty`); assert.equal( @@ -68,13 +71,16 @@ jobs: - name: Check get image name ouput uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + env: + IMAGE_NAME_OUTPUT: ${{ steps.get-image-name.outputs.image-name }} + FULL_IMAGE_NAME_OUTPUT: ${{ steps.get-image-name.outputs.image-name-with-registry }} with: script: | /* jscpd:ignore-start */ const assert = require("assert"); - const imageNameOutput = `${{ steps.get-image-name.outputs.image-name }}`; - const fullImageNameOutput = `${{ steps.get-image-name.outputs.image-name-with-registry }}`; + const imageNameOutput = process.env.IMAGE_NAME_OUTPUT; + const fullImageNameOutput = process.env.FULL_IMAGE_NAME_OUTPUT; assert(imageNameOutput.length, `"image-name" output is empty`); assert.equal( diff --git a/.github/workflows/__test-action-helm-parse-chart-uri.yml b/.github/workflows/__test-action-helm-parse-chart-uri.yml index db0caa39..c6e47171 100644 --- a/.github/workflows/__test-action-helm-parse-chart-uri.yml +++ b/.github/workflows/__test-action-helm-parse-chart-uri.yml @@ -26,15 +26,19 @@ jobs: - name: Assert - Check parse chart URI ouputs uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + env: + REPOSITORY_OUTPUT: ${{ steps.parse-chart-uri.outputs.repository }} + NAME_OUTPUT: ${{ steps.parse-chart-uri.outputs.name }} + VERSION_OUTPUT: ${{ steps.parse-chart-uri.outputs.version }} with: script: | const assert = require("assert"); - const repositoryOutput = `${{ steps.parse-chart-uri.outputs.repository }}`; + const repositoryOutput = process.env.REPOSITORY_OUTPUT; assert.equal(repositoryOutput,"ghcr.io/my-org/my-repo/charts/application", `"repository" output is not valid`); - const nameOutput = `${{ steps.parse-chart-uri.outputs.name }}`; + const nameOutput = process.env.NAME_OUTPUT; assert.equal(nameOutput,"my-repo", `"name" output is not valid`); - const versionOutput = `${{ steps.parse-chart-uri.outputs.version }}`; + const versionOutput = process.env.VERSION_OUTPUT; assert.equal(versionOutput,"0.1.0", `"version" output is not valid`); diff --git a/.github/workflows/__test-workflow-docker-build-images-building.yml b/.github/workflows/__test-workflow-docker-build-images-building.yml index 66182e45..263aee29 100644 --- a/.github/workflows/__test-workflow-docker-build-images-building.yml +++ b/.github/workflows/__test-workflow-docker-build-images-building.yml @@ -55,11 +55,13 @@ jobs: steps: - name: Check built images ouput uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + env: + BUILT_IMAGES_OUTPUT: ${{ needs.act-build-images-args-secrets.outputs.built-images }} with: script: | const assert = require("assert"); - const builtImagesOutput = `${{ needs.act-build-images-args-secrets.outputs.built-images }}`; + const builtImagesOutput = process.env.BUILT_IMAGES_OUTPUT; assert(builtImagesOutput.length, `"built-images" output is empty`); // Check if is valid Json diff --git a/.github/workflows/__test-workflow-docker-build-images-caching.yml b/.github/workflows/__test-workflow-docker-build-images-caching.yml index 58154337..bf9dbc01 100644 --- a/.github/workflows/__test-workflow-docker-build-images-caching.yml +++ b/.github/workflows/__test-workflow-docker-build-images-caching.yml @@ -141,28 +141,31 @@ jobs: env: BUILT_IMAGES: ${{ needs[matrix.cache-type == 'registry' && 'act-build-images-registry' || 'act-build-images-gha' ].outputs.built-images }} EXPECTED_IMAGE: ghcr.io/${{ github.repository }}/${{ matrix.image-name }} + IMAGE_NAME: ${{ matrix.image-name }} with: script: | const assert = require("assert"); + const pullRequestNumber = context.payload.pull_request?.number; + const refName = process.env.GITHUB_REF_NAME; let expectedTag; - const isPullRequest = `${{ github.event_name }}` === "pull_request"; + const isPullRequest = context.eventName === "pull_request"; if (isPullRequest) { - const shortSha = `${{ github.sha }}`.substring(0, 7); - expectedTag = `pr-${{ github.event.pull_request.number }}-${shortSha}`; + const shortSha = context.sha.substring(0, 7); + expectedTag = `pr-${pullRequestNumber}-${shortSha}`; } else { - expectedTag = `${{ github.ref_name }}`; + expectedTag = refName; } const builtImages = JSON.parse(process.env.BUILT_IMAGES); - const imageName = `${{ matrix.image-name }}`; + const imageName = process.env.IMAGE_NAME; assert(builtImages[imageName], `"built-images" output does not contain "${imageName}" image`); const digest = builtImages[imageName].digest; - assert(digest.length, `"built-images" output does not contain digest for "${{ matrix.image-name }}" image`); - assert.match(digest, /^sha256:[0-9a-f]{64}$/, `"built-images" output does not contain valid digest for "${{ matrix.image-name }}" image`); + assert(digest.length, `"built-images" output does not contain digest for "${imageName}" image`); + assert.match(digest, /^sha256:[0-9a-f]{64}$/, `"built-images" output does not contain valid digest for "${imageName}" image`); const expectedImage = process.env.EXPECTED_IMAGE; const expectedImageTag = `${expectedImage}:${expectedTag}@${digest}`; @@ -182,6 +185,14 @@ jobs: EXPECTED_CACHE_TAG: ${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.pull_request.number) || github.ref_name }} with: script: | + const shouldAssertCache = context.eventName === 'pull_request' + || (context.eventName === 'push' && !context.ref.startsWith('refs/tags/')); + + if (!shouldAssertCache) { + core.info(`Skipping cache assertion for ${context.eventName} on ${context.ref}.`); + return; + } + const expectedCacheImage = `${process.env.EXPECTED_IMAGE}/cache:${process.env.EXPECTED_CACHE_TAG}`; const expectedPlatforms = JSON.parse(process.env.EXPECTED_PLATFORMS); const expectedCacheImages = expectedPlatforms.map(platform => `${expectedCacheImage}-${platform.replace('/', '-')}`); diff --git a/.github/workflows/__test-workflow-docker-build-images-multi-registry.yml b/.github/workflows/__test-workflow-docker-build-images-multi-registry.yml index e3d15b9e..0e6c0d35 100644 --- a/.github/workflows/__test-workflow-docker-build-images-multi-registry.yml +++ b/.github/workflows/__test-workflow-docker-build-images-multi-registry.yml @@ -59,7 +59,9 @@ jobs: with: script: | const assert = require("assert"); - const sha = `${{ github.sha }}`; + const sha = context.sha; + const pullRequestNumber = context.payload.pull_request?.number; + const refName = process.env.GITHUB_REF_NAME; const builtImages = JSON.parse(process.env.BUILT_IMAGES); const builtImage = builtImages["test-multi-registry-inputs"]; @@ -68,9 +70,9 @@ jobs: assert.equal(builtImage.registry, "ghcr.io", `"registry" output is not valid`); assert.match(builtImage.digest, /^sha256:[0-9a-f]{64}$/, `"digest" output is not valid`); - const expectedTag = `${{ github.event_name }}` === "pull_request" - ? `pr-${{ github.event.pull_request.number }}-${sha.substring(0, 7)}` - : `${{ github.ref_name }}`; + const expectedTag = context.eventName === "pull_request" + ? `pr-${pullRequestNumber}-${sha.substring(0, 7)}` + : refName; const expectedImage = `${process.env.EXPECTED_IMAGE}:${expectedTag}@${builtImage.digest}`; assert.equal(builtImage.images[0], expectedImage, `"image" output is not valid`); @@ -84,5 +86,13 @@ jobs: EXPECTED_CACHE_TAG: ${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.pull_request.number) || github.ref_name }} with: script: | + const shouldAssertCache = context.eventName === "pull_request" + || (context.eventName === "push" && !context.ref.startsWith("refs/tags/")); + + if (!shouldAssertCache) { + core.info(`Skipping cache assertion for ${context.eventName} on ${context.ref}.`); + return; + } + const cacheImage = `${process.env.EXPECTED_CACHE_IMAGE}:${process.env.EXPECTED_CACHE_TAG}-linux-amd64`; await exec.exec("docker", ["manifest", "inspect", cacheImage]); diff --git a/.github/workflows/__test-workflow-docker-build-images-platforms-and-signing.yml b/.github/workflows/__test-workflow-docker-build-images-platforms-and-signing.yml index c96eb3db..38428ef8 100644 --- a/.github/workflows/__test-workflow-docker-build-images-platforms-and-signing.yml +++ b/.github/workflows/__test-workflow-docker-build-images-platforms-and-signing.yml @@ -144,7 +144,7 @@ jobs: { package_type: "container", package_name: `ci-github-container/${process.env.IMAGE_NAME}`, - org: `${{ github.repository_owner }}`, + org: context.repo.owner, per_page: 100 } ); diff --git a/.github/workflows/docker-build-images.yml b/.github/workflows/docker-build-images.yml index 3aff06b7..3417feef 100644 --- a/.github/workflows/docker-build-images.yml +++ b/.github/workflows/docker-build-images.yml @@ -179,14 +179,18 @@ jobs: steps: - id: validate-inputs uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + env: + OCI_REGISTRY_PASSWORD: ${{ secrets.oci-registry-password }} + RUNS_ON_INPUT: ${{ inputs.runs-on }} + IMAGES_INPUT: ${{ inputs.images }} with: script: | - const ociRegistryPassword = `${{ secrets.oci-registry-password }}`; + const ociRegistryPassword = process.env.OCI_REGISTRY_PASSWORD; if (!ociRegistryPassword) { throw new Error(`"oci-registry-password" secret is missing`); } - const runsOnInput = `${{ inputs.runs-on }}`; + const runsOnInput = process.env.RUNS_ON_INPUT; let runsOn = null; try { runsOn = JSON.parse(runsOnInput); @@ -195,7 +199,7 @@ jobs: } // jscpd:ignore-start - const imagesInput = `${{ inputs.images }}`; + const imagesInput = process.env.IMAGES_INPUT; // Check if is valid Json let images = null; @@ -251,7 +255,7 @@ jobs: // Set default repository if (!image['repository']) { - image['repository'] = `${{ github.repository }}`; + image['repository'] = `${context.repo.owner}/${context.repo.repo}`; } } @@ -391,12 +395,16 @@ jobs: - id: prepare-secret-envs uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + env: + SECRET_ENVS: ${{ matrix.image.secret-envs }} + GITHUB_APP_TOKEN: ${{ steps.generate-token.outputs.token }} + BUILD_SECRET_GITHUB_APP_TOKEN_ENV: ${{ inputs.build-secret-github-app-token-env }} with: script: | const githubAppTokenEnvName = 'GITHUB_APP_TOKEN'; - let secretEnvs = `${{ matrix.image.secret-envs }}`; - const githubAppToken = `${{ steps.generate-token.outputs.token }}`; + let secretEnvs = process.env.SECRET_ENVS || ''; + const githubAppToken = process.env.GITHUB_APP_TOKEN || ''; if (!githubAppToken) { if (secretEnvs) { @@ -407,7 +415,7 @@ jobs: core.exportVariable(githubAppTokenEnvName, githubAppToken); - const buildSecretGithubAppTokenEnv = `${{ inputs.build-secret-github-app-token-env }}`.trim(); + const buildSecretGithubAppTokenEnv = (process.env.BUILD_SECRET_GITHUB_APP_TOKEN_ENV || '').trim(); if (!buildSecretGithubAppTokenEnv.length) { throw new Error(`"build-secret-github-app-token-env" input is empty`); } @@ -474,9 +482,11 @@ jobs: - id: built-images uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + env: + BUILT_IMAGES_INPUT: ${{ steps.get-matrix-outputs.outputs.result }} with: script: | - const builtImagesInput = `${{ steps.get-matrix-outputs.outputs.result }}`; + const builtImagesInput = process.env.BUILT_IMAGES_INPUT; let builtImages = null; try { builtImages = JSON.parse(builtImagesInput); @@ -519,9 +529,11 @@ jobs: - id: get-images-to-sign if: inputs.sign uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + env: + BUILT_IMAGES_INPUT: ${{ steps.create-images-manifests.outputs.built-images }} with: script: | - const builtImagesInput = `${{ steps.create-images-manifests.outputs.built-images }}`; + const builtImagesInput = process.env.BUILT_IMAGES_INPUT; let builtImages = null; try { builtImages = JSON.parse(builtImagesInput); diff --git a/.github/workflows/prune-pull-requests-images-tags.yml b/.github/workflows/prune-pull-requests-images-tags.yml index 2a2774df..72abf51e 100644 --- a/.github/workflows/prune-pull-requests-images-tags.yml +++ b/.github/workflows/prune-pull-requests-images-tags.yml @@ -56,10 +56,13 @@ jobs: steps: - id: validate-inputs uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 + env: + IMAGES_INPUT: ${{ inputs.images }} + PRUNE_CACHE_IMAGES: ${{ inputs.prune-cache-images }} with: script: | // jscpd:ignore-start - const imagesInput = `${{ inputs.images }}`; + const imagesInput = process.env.IMAGES_INPUT; // Check if is valid Json let images = null; @@ -83,7 +86,7 @@ jobs: } } - if (${{ inputs.prune-cache-images }}) { + if (process.env.PRUNE_CACHE_IMAGES === 'true') { images = [...images, ...images.map((image) => `${image}/cache`)]; } diff --git a/Makefile b/Makefile index 30d685d8..f0e22226 100644 --- a/Makefile +++ b/Makefile @@ -32,7 +32,7 @@ npm-audit-fix: ## Execute npm audit fix exit $$overall_status ci: ## Execute CI tasks - $(MAKE) npm-audit-fix + $(MAKE) npm-audit-fix || true $(MAKE) lint-fix test-build-application: ## Build the test application image diff --git a/actions/docker/build-image/action.yml b/actions/docker/build-image/action.yml index 70068772..a0f8f998 100644 --- a/actions/docker/build-image/action.yml +++ b/actions/docker/build-image/action.yml @@ -308,7 +308,7 @@ runs: cache-dir: cache-mount dockerfile: ${{ steps.get-docker-config.outputs.dockerfile-path }} skip-extraction: ${{ steps.cache.outputs.cache-hit }} - # jscpd:ignore-end + - id: build uses: docker/build-push-action@d08e5c354a6adb9ed34480a06d141179aa583294 # v7.0.0 with: diff --git a/actions/helm/generate-docs/package-lock.json b/actions/helm/generate-docs/package-lock.json index 30ce17bb..c432435a 100644 --- a/actions/helm/generate-docs/package-lock.json +++ b/actions/helm/generate-docs/package-lock.json @@ -1030,6 +1030,7 @@ "resolved": "https://registry.npmjs.org/express/-/express-5.2.1.tgz", "integrity": "sha512-hIS4idWWai69NezIdRt2xFVofaF4j+6INOpJlVOLDO8zXGpUVEVzIYk12UUi2JzjEzWL3IOAxcTubgz9Po0yXw==", "license": "MIT", + "peer": true, "dependencies": { "accepts": "^2.0.0", "body-parser": "^2.2.1", @@ -1465,6 +1466,7 @@ "resolved": "https://registry.npmjs.org/hono/-/hono-4.12.12.tgz", "integrity": "sha512-p1JfQMKaceuCbpJKAPKVqyqviZdS0eUxH9v82oWo1kb9xjQ5wA6iP3FNVAPDFlz5/p7d45lO+BpSk1tuSZMF4Q==", "license": "MIT", + "peer": true, "engines": { "node": ">=16.9.0" } @@ -1792,6 +1794,7 @@ "resolved": "https://registry.npmjs.org/keyv/-/keyv-5.5.4.tgz", "integrity": "sha512-eohl3hKTiVyD1ilYdw9T0OiB4hnjef89e3dMYKz+mVKDzj+5IteTseASUsOB+EU9Tf6VNTCjDePcP6wkDGmLKQ==", "license": "MIT", + "peer": true, "dependencies": { "@keyv/serialize": "^1.1.1" } @@ -1904,6 +1907,7 @@ "resolved": "https://registry.npmjs.org/markdownlint-cli2/-/markdownlint-cli2-0.22.0.tgz", "integrity": "sha512-mOC9BY/XGtdX3M9n3AgERd79F0+S7w18yBBTNIQ453sI87etZfp1z4eajqSMV70CYjbxKe5ktKvT2HCpvcWx9w==", "license": "MIT", + "peer": true, "dependencies": { "globby": "16.1.1", "js-yaml": "4.1.1", @@ -4195,6 +4199,7 @@ "resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz", "integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==", "license": "MIT", + "peer": true, "funding": { "url": "https://github.com/sponsors/colinhacks" }