I have done the following
Steps to reproduce
container build -t <imageURL>:latest .
container tag <imageURL>:latest <imageURL>:123456
container image rm <imageURL>:latest
container image push <imageURL>:latest
Problem description
Last image push command should throw not found error, but it pushes :123456 instead.
The built image has an annotation of :latest, so it's filtered in localImageMatches there, and the guard branch returns localImageMatches.first.
However, :latest tag is already deleted, and it should actually return nil.
Environment
- OS: 26
- Xcode: 26
- Container: main
Code of Conduct
I have done the following
Steps to reproduce
Problem description
Last image push command should throw not found error, but it pushes :123456 instead.
The built image has an annotation of :latest, so it's filtered in localImageMatches there, and the guard branch returns localImageMatches.first.
However, :latest tag is already deleted, and it should actually return nil.
Environment
Code of Conduct