Commit 0e54355
committed
fix(ci): one
Two review findings.
metadata-flavor: an explicit metadata-tags list leaves metadata-action's
flavor at `latest=auto`, which appends `latest` again on a tag push. The
explicit `type=raw,value=latest` already reproduces the previous
`flavor: latest=true` on every event, so `latest=false` turns the implicit
one off and exactly one `latest` is emitted. Uses the metadata-flavor input
added in netresearch/.github#267.
cache: was `!= 'schedule'`, so a push build was cached. Since the nightly
rebuilds without cache to pick up `apt upgrade`, a subsequent cached push
would restore the pre-upgrade layer chain and overwrite `:latest` /
`:master` with a LESS patched image than the nightly had just published.
Cache is now limited to pull_request, so every run that publishes rebuilds
for real.
Signed-off-by: Sebastian Mendel <github@sebastianmendel.de>latest on tag pushes, and never publish from cache1 parent 095827d commit 0e54355
1 file changed
Lines changed: 10 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
51 | 56 | | |
52 | 57 | | |
53 | 58 | | |
54 | 59 | | |
55 | 60 | | |
56 | 61 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
0 commit comments