Compare commits

..

No commits in common. "d08e5c354a6adb9ed34480a06d141179aa583294" and "03fe8775e325e34fffbda44c73316f8287aea372" have entirely different histories.

6 changed files with 43 additions and 11 deletions

View File

@ -1368,6 +1368,29 @@ jobs:
env:
DOCKER_BUILD_SUMMARY: false
summary-disable-deprecated:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v6
with:
path: action
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v4
with:
version: ${{ inputs.buildx-version || env.BUILDX_VERSION }}
driver-opts: |
image=${{ inputs.buildkit-image || env.BUILDKIT_IMAGE }}
-
name: Build
uses: ./action
with:
file: ./test/Dockerfile
env:
DOCKER_BUILD_NO_SUMMARY: true
summary-not-supported:
runs-on: ubuntu-latest
steps:

4
dist/index.js generated vendored

File diff suppressed because one or more lines are too long

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@ -24,7 +24,7 @@
"packageManager": "yarn@4.9.2",
"dependencies": {
"@actions/core": "^3.0.0",
"@docker/actions-toolkit": "0.79.0",
"@docker/actions-toolkit": "0.78.0",
"handlebars": "^4.7.7"
},
"devDependencies": {

View File

@ -265,7 +265,10 @@ function buildChecksAnnotationsEnabled(): boolean {
}
function buildSummaryEnabled(): boolean {
if (process.env.DOCKER_BUILD_SUMMARY) {
if (process.env.DOCKER_BUILD_NO_SUMMARY) {
core.warning('DOCKER_BUILD_NO_SUMMARY is deprecated. Set DOCKER_BUILD_SUMMARY to false instead.');
return !Util.parseBool(process.env.DOCKER_BUILD_NO_SUMMARY);
} else if (process.env.DOCKER_BUILD_SUMMARY) {
return Util.parseBool(process.env.DOCKER_BUILD_SUMMARY);
}
return true;
@ -279,7 +282,13 @@ function buildRecordUploadEnabled(): boolean {
}
function buildRecordRetentionDays(): number | undefined {
const val = process.env.DOCKER_BUILD_RECORD_RETENTION_DAYS;
let val: string | undefined;
if (process.env.DOCKER_BUILD_EXPORT_RETENTION_DAYS) {
core.warning('DOCKER_BUILD_EXPORT_RETENTION_DAYS is deprecated. Use DOCKER_BUILD_RECORD_RETENTION_DAYS instead.');
val = process.env.DOCKER_BUILD_EXPORT_RETENTION_DAYS;
} else if (process.env.DOCKER_BUILD_RECORD_RETENTION_DAYS) {
val = process.env.DOCKER_BUILD_RECORD_RETENTION_DAYS;
}
if (val) {
const res = parseInt(val);
if (isNaN(res)) {

View File

@ -367,9 +367,9 @@ __metadata:
languageName: node
linkType: hard
"@docker/actions-toolkit@npm:0.79.0":
version: 0.79.0
resolution: "@docker/actions-toolkit@npm:0.79.0"
"@docker/actions-toolkit@npm:0.78.0":
version: 0.78.0
resolution: "@docker/actions-toolkit@npm:0.78.0"
dependencies:
"@actions/artifact": "npm:^6.2.0"
"@actions/cache": "npm:^6.0.0"
@ -393,7 +393,7 @@ __metadata:
semver: "npm:^7.7.4"
tar-stream: "npm:^3.1.7"
tmp: "npm:^0.2.5"
checksum: 10/d64849ba49b2b59e2e93237a70be03fd7c43b1f7f01bac3f7557616ba5f59be785cb12a273bbb6a71c1e0d959f1bc6c673111b587c57bd2d6da105dcc500921a
checksum: 10/b56e9d25bea723eaaf95a8aaf506bac0a46b50328334b4368e365b5a85445f8c85a61225ff02a612bb7a37d73dc65055800d3d90e4a89902c0d84940708cbb0f
languageName: node
linkType: hard
@ -2094,7 +2094,7 @@ __metadata:
resolution: "docker-build-push@workspace:."
dependencies:
"@actions/core": "npm:^3.0.0"
"@docker/actions-toolkit": "npm:0.79.0"
"@docker/actions-toolkit": "npm:0.78.0"
"@eslint/js": "npm:^9.39.3"
"@types/node": "npm:^24.11.0"
"@typescript-eslint/eslint-plugin": "npm:^8.56.1"