Skip to content

Commit

Permalink
Merge pull request #441 from docker/dependabot/npm_and_yarn/docker/ac…
Browse files Browse the repository at this point in the history
…tions-toolkit-0.35.0

chore(deps): Bump @docker/actions-toolkit from 0.23.0 to 0.35.0
  • Loading branch information
crazy-max authored Jul 23, 2024
2 parents 6970301 + b3bc5a6 commit 60a0d34
Show file tree
Hide file tree
Showing 6 changed files with 227 additions and 41 deletions.
37 changes: 19 additions & 18 deletions dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

49 changes: 49 additions & 0 deletions dist/licenses.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"dependencies": {
"@actions/core": "^1.10.1",
"@actions/github": "^6.0.0",
"@docker/actions-toolkit": "^0.23.0",
"@docker/actions-toolkit": "^0.35.0",
"@renovate/pep440": "^1.0.0",
"csv-parse": "^5.5.6",
"handlebars": "^4.7.8",
Expand Down
10 changes: 5 additions & 5 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ import {Toolkit} from '@docker/actions-toolkit/lib/toolkit';
import {getContext, getInputs, Inputs} from './context';
import {Meta, Version} from './meta';

function setOutput(name: string, value: string) {
core.setOutput(name, value);
core.exportVariable(`DOCKER_METADATA_OUTPUT_${name.replace(/\W/g, '_').toUpperCase()}`, value);
}

actionsToolkit.run(
// main
async () => {
Expand Down Expand Up @@ -108,3 +103,8 @@ actionsToolkit.run(
setOutput(`bake-file`, `${meta.getBakeFileTagsLabels()}`);
}
);

function setOutput(name: string, value: string) {
core.setOutput(name, value);
core.exportVariable(`DOCKER_METADATA_OUTPUT_${name.replace(/\W/g, '_').toUpperCase()}`, value);
}
Loading

0 comments on commit 60a0d34

Please sign in to comment.