Skip to content

Conversation

@tianon
Copy link
Member

@tianon tianon commented Jan 30, 2024

Before:

$ bashbrew cat --format '{{ .ArchLastStageFrom arch .TagEntry }}' ubuntu:latest
failed executing template for repo "ubuntu:latest"
template: --format:1:3: executing "--format" at <.ArchLastStageFrom>: error calling ArchLastStageFrom: runtime error: index out of range [-1]

After:

$ bashbrew cat --format '{{ .ArchLastStageFrom arch .TagEntry }}' ubuntu:latest
scratch

Before:

```console
$ bashbrew cat --format '{{ .ArchLastStageFrom arch .TagEntry }}' ubuntu:latest
failed executing template for repo "ubuntu:latest"
template: --format:1:3: executing "--format" at <.ArchLastStageFrom>: error calling ArchLastStageFrom: runtime error: index out of range [-1]
```

After:

```console
$ bashbrew cat --format '{{ .ArchLastStageFrom arch .TagEntry }}' ubuntu:latest
scratch
```
@yosifkit yosifkit merged commit ca06476 into docker-library:master Feb 3, 2024
@yosifkit yosifkit deleted the oci-import-stagefroms branch February 3, 2024 00:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants