Skip to content

Commit ebc3ab8

Browse files
committed
Fix: Add build tags based on release tag to docker-build workflow
1 parent 47baa6d commit ebc3ab8

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/docker-build.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,11 @@ jobs:
3434
context: .
3535
file: nginx-utils/Dockerfile
3636
push: true
37-
tags: ghcr.io/nginx/nginx-utils:latest
3837
platforms: linux/amd64,linux/arm64
38+
tags: |
39+
ghcr.io/nginx/nginx-utils:${{ env.RELEASE_VERSION }}
40+
ghcr.io/nginx/nginx-utils:latest
41+
3942
4043
# Step 5: Install Trivy for Vulnerability Scanning
4144
- name: Install Trivy and scan image for vulnerabilities

0 commit comments

Comments
 (0)