Commit 51830a2
authored
Fixes local tag publishing (chainguard-dev#1880)
When you run `apko publish --local` right now - it ignores all tags
except the default apko.local/cache tag
eg:
<img width="1274" height="556" alt="image"
src="https://github.com/user-attachments/assets/b143abf8-520d-45d2-9929-87973464d531"
/>
This looks like it might have been the result of a typo. The tagging
logic checks to see whether our "source" tag (the apko.local one) starts
with apko.local, and if so, skips it. Instead, I believe this check was
meant to use `localDstTag` so we can check that any additional tags
can't fall under the `apko.cache` domain.
Evidence of fix:
<img width="1274" height="620" alt="image"
src="https://github.com/user-attachments/assets/847cac2f-a4b1-4a16-8a5f-b817db0da751"
/>1 parent 9acc8ad commit 51830a2
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
0 commit comments