Compare commits
No commits in common. "9d6cb8d126635ec310665728793a7538d807c9ac" and "1ed940d0548c17422faae45f262ea86db876b2c3" have entirely different histories.
9d6cb8d126
...
1ed940d054
3
dist/index.js
vendored
3
dist/index.js
vendored
@ -2869,8 +2869,6 @@ async function main() {
|
||||
new_tags: core.getInput('new-tags').trim().split('\n'),
|
||||
};
|
||||
|
||||
console.log('Tagging %s:%s with new tags', input.image, input.old_tag, input);
|
||||
|
||||
const manifest = await get_manifest(`${input.registry}/v2/${input.image}/manifests/${input.old_tag}`);
|
||||
const promises = input.new_tags.map((new_tag) => {
|
||||
return put_manifest(`${input.registry}/v2/${input.image}/manifests/${new_tag}`, manifest);
|
||||
@ -2880,7 +2878,6 @@ async function main() {
|
||||
}
|
||||
|
||||
catch (error) {
|
||||
console.error(error);
|
||||
core.setFailed(error.message);
|
||||
}
|
||||
}
|
||||
|
2
dist/index.js.map
vendored
2
dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
3
index.js
3
index.js
@ -16,8 +16,6 @@ async function main() {
|
||||
new_tags: core.getInput('new-tags').trim().split('\n'),
|
||||
};
|
||||
|
||||
console.log('Tagging %s:%s with new tags', input.image, input.old_tag, input);
|
||||
|
||||
const manifest = await get_manifest(`${input.registry}/v2/${input.image}/manifests/${input.old_tag}`);
|
||||
const promises = input.new_tags.map((new_tag) => {
|
||||
return put_manifest(`${input.registry}/v2/${input.image}/manifests/${new_tag}`, manifest);
|
||||
@ -27,7 +25,6 @@ async function main() {
|
||||
}
|
||||
|
||||
catch (error) {
|
||||
console.error(error);
|
||||
core.setFailed(error.message);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user