Use raw for versioning (#990)
Browse files
.github/workflows/build-image.yml
CHANGED
@@ -32,7 +32,7 @@ jobs:
|
|
32 |
images: |
|
33 |
ghcr.io/huggingface/chat-ui-db
|
34 |
tags: |
|
35 |
-
type=
|
36 |
type=raw,value=latest,enable={{is_default_branch}}
|
37 |
type=sha,enable={{is_default_branch}}
|
38 |
|
@@ -78,7 +78,7 @@ jobs:
|
|
78 |
images: |
|
79 |
ghcr.io/huggingface/chat-ui
|
80 |
tags: |
|
81 |
-
type=
|
82 |
type=raw,value=latest,enable={{is_default_branch}}
|
83 |
type=sha,enable={{is_default_branch}}
|
84 |
|
|
|
32 |
images: |
|
33 |
ghcr.io/huggingface/chat-ui-db
|
34 |
tags: |
|
35 |
+
type=raw,value=${{ steps.package-version.outputs.version }},enable={{github.event_name == 'release'}}
|
36 |
type=raw,value=latest,enable={{is_default_branch}}
|
37 |
type=sha,enable={{is_default_branch}}
|
38 |
|
|
|
78 |
images: |
|
79 |
ghcr.io/huggingface/chat-ui
|
80 |
tags: |
|
81 |
+
type=raw,value=${{ steps.package-version.outputs.version }},enable={{github.event_name == 'release'}}
|
82 |
type=raw,value=latest,enable={{is_default_branch}}
|
83 |
type=sha,enable={{is_default_branch}}
|
84 |
|