Skip to content

Commit 4731f84

Browse files
authored
Add build-args for RELEASE_VERSION in Docker workflow
1 parent a2fb157 commit 4731f84

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/docker.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ jobs:
2828
context: .
2929
file: ./Dockerfile
3030
push: true
31+
build-args: |
32+
RELEASE_VERSION=${{ github.event.release.tag_name }}
3133
tags: |
3234
ghcr.io/apdevteam/modmail:${{ github.event.release.tag_name }}
33-
ghcr.io/apdevteam/modmail:latest
35+
ghcr.io/apdevteam/modmail:latest

0 commit comments

Comments
 (0)