File tree 2 files changed +7
-4
lines changed
2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,8 @@ permissions:
14
14
jobs :
15
15
16
16
# Build default priviliged container image version
17
- # We make it need the other jobs, so this comes last and becomes the "latest"
18
17
docker-root :
19
18
runs-on : ubuntu-latest
20
- needs : [docker-nonroot]
21
19
steps :
22
20
- name : Check out the repo
23
21
uses : actions/checkout@v3
77
75
uses : docker/metadata-action@v4
78
76
with :
79
77
images : ghcr.io/${{ github.repository }}
80
- tags : type=ref,event=tag,suffix=-nonroot
78
+ # no "latest" tag for non-root variant
79
+ flavor : latest=false
80
+ tags : |
81
+ type=ref,event=tag,suffix=-nonroot
82
+ # set latest-nonroot tag for default branch
83
+ type=raw,value=latest-nonroot
81
84
82
85
- name : Build and push Docker image
83
86
uses : docker/build-push-action@v4
Original file line number Diff line number Diff line change 10
10
version : " 3"
11
11
services :
12
12
timetagger :
13
- image : ghcr.io/almarklein/timetagger:v23.9.2 -nonroot
13
+ image : ghcr.io/almarklein/timetagger:latest -nonroot
14
14
ports :
15
15
- " 80:80"
16
16
volumes :
You can’t perform that action at this time.
0 commit comments