Commit b2cadf9
authored
ci: install gh CLI on self-hosted runner in promote workflow (#822)
Self-hosted infra runners don't ship gh CLI (unlike ubuntu-latest GitHub-hosted
runners). Add gh to the apt-get install step so the Create GitHub release step
doesn't fail with 'gh: command not found'.
Also add digest input validation: if a digest is provided it must match
sha256:<64 hex chars> to fail fast before skopeo is invoked.1 parent 1034e7a commit b2cadf9
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
69 | 73 | | |
70 | 74 | | |
71 | 75 | | |
| |||
0 commit comments