Skip to content

Using local image archives no longer works #2181

@rjferguson21

Description

@rjferguson21

Environment

Device and OS: Linux
App version: v0.31.0
Kubernetes distro being used: k3d
Other:

Steps to reproduce

  1. Create an image archive locally with docker save busybox -o busybox.tar
  2. Create a zarf.yaml that references the archive in the images: list for a component.
kind: ZarfPackageConfig
metadata:
  name: example
  description: Test component
  version: 1.0.0

components:
  - name: zebra
    description: "This is a zebra and they have stripes"
    images:
      - "/home/rob/busybox.tar"
  1. zarf package create . --confirm

Expected result

A package to be created that includes the referenced image archive.

Actual Result

Error indicating the package create has failed.

     ERROR:  Failed to create package: failed to create ref for image /home/rob/busybox.tar: invalid reference
             format

Visual Proof (screenshots, videos, text, etc)

2023-12-07_17-12-1701991967

Severity/Priority

Not critical

Additional Context

Originally added in #1173,

Metadata

Metadata

Assignees

Labels

bug 🐞Something isn't workingv1.0.0Issues tracking toward Zarf v1.0.0

Type

No type

Projects

Status

Ready

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions