Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ArchLastStageFrom with oci-import builder #92

Merged
merged 1 commit into from
Feb 3, 2024

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
6 checks passed
@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