Commit 54671df
authored
Publish docker image on push to main (#26)
* Publish docker image on push to main
These images are annotated as "latest". If desired, we can also
annotated with the short sha by adding the following line in the
tags section of the Extract metadata step:
```
type=sha,format=short,enable={{is_default_branch}}
```
This would improve traceability, but has the downside of quickly filling
up the list in:
https://github.com/eclipse-csi/pia/pkgs/container/pia/versions
Since traceability is not so important for images built off of main, I
let it out for now.
Signed-off-by: Lukas Puehringer <lukas.puehringer@eclipse-foundation.org>
* Minor fixes in publish.yml
* Remove redundant release event trigger
-> We already listen on tag push
* Remove unused/unneeded annotations in "Extract metadata" step.
-> We don't care for image annotations of type ref (branch name, pr
number, etc.), and we don't even run on PRs
Signed-off-by: Lukas Puehringer <lukas.puehringer@eclipse-foundation.org>
---------
Signed-off-by: Lukas Puehringer <lukas.puehringer@eclipse-foundation.org>1 parent db1f7bb commit 54671df
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | 42 | | |
45 | 43 | | |
46 | 44 | | |
| |||
0 commit comments