Skip to content

Commit 0fe9493

Browse files
committed
disabled latest tag generator for non-root variant
1 parent 4e0d7ba commit 0fe9493

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/dockerimage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,8 @@ permissions:
1414
jobs:
1515

1616
# Build default priviliged container image version
17-
# We make it need the other jobs, so this comes last and becomes the "latest"
1817
docker-root:
1918
runs-on: ubuntu-latest
20-
needs: [docker-nonroot]
2119
steps:
2220
- name: Check out the repo
2321
uses: actions/checkout@v3
@@ -77,6 +75,8 @@ jobs:
7775
uses: docker/metadata-action@v4
7876
with:
7977
images: ghcr.io/${{ github.repository }}
78+
# no "latest" tag for non-root variant
79+
flavor: latest=false
8080
tags: |
8181
type=ref,event=tag,suffix=-nonroot
8282
# set latest-nonroot tag for default branch

0 commit comments

Comments
 (0)