Skip to content

Commit

Permalink
fix: incorrect snapshot used during bom stage (#575)
Browse files Browse the repository at this point in the history
Signed-off-by: Ramkumar Chinchani <[email protected]>
  • Loading branch information
rchincha authored Dec 12, 2023
1 parent f265e66 commit ec24577
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/stacker/bom.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func BuildLayerArtifacts(sc types.StackerConfig, storage types.Storage, l types.
defer c.Close()

inDir := types.InternalStackerDir
err = SetupBuildContainerConfig(sc, storage, c, inDir, tag)
err = SetupBuildContainerConfig(sc, storage, c, inDir, name)
if err != nil {
log.Errorf("build container %v", err)
return err
Expand Down Expand Up @@ -74,7 +74,7 @@ func VerifyLayerArtifacts(sc types.StackerConfig, storage types.Storage, l types
defer c.Close()

inDir := types.InternalStackerDir
err = SetupBuildContainerConfig(sc, storage, c, inDir, tag)
err = SetupBuildContainerConfig(sc, storage, c, inDir, name)
if err != nil {
log.Errorf("build container %v", err)
return err
Expand Down

0 comments on commit ec24577

Please sign in to comment.