mirror of
https://github.com/redhat-actions/buildah-build.git
synced 2025-06-08 10:01:34 +00:00
Forcibly remove existing manifest before creating a new one (#103)
* Remove existing manifest * Always execute manifest rm
This commit is contained in:
parent
3e3409a032
commit
6c6c802bcc
4 changed files with 24 additions and 2 deletions
|
@ -112,6 +112,8 @@ export async function run(): Promise<void> {
|
|||
const builtManifest = [];
|
||||
for (const tag of normalizedTagsList) {
|
||||
const manifestName = getFullImageName(normalizedImage, tag);
|
||||
// Force-remove existing manifest to prevent errors on recurring build on the same machine
|
||||
await cli.manifestRm(manifestName);
|
||||
await cli.manifestCreate(manifestName);
|
||||
builtManifest.push(manifestName);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue