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

Local OCI cache not updated if same tag on remote registry is updated #171

Closed
armas-mk opened this issue Oct 3, 2024 · 0 comments · Fixed by #172
Closed

Local OCI cache not updated if same tag on remote registry is updated #171

armas-mk opened this issue Oct 3, 2024 · 0 comments · Fixed by #172
Assignees

Comments

@armas-mk
Copy link

armas-mk commented Oct 3, 2024

If the packer machine already has pulled eg.: ocr-registry/macos-14:main and has it cached locally, it won't pull latest changes when i use the same image as dependency (using the OCI url) on another packer template despite SHA being different for the same tag on the registry vs whats stored locally.

I have to prune/delete the cache to make it pull the latest changes for the packer template thats dependent on that image:tag.

I reckon adding a pull step before cloning would solve this?

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 a pull request may close this issue.

2 participants