Skip to content

Commit 5e150bd

Browse files
authored
fix: fix ref for docker image build (#14)
Signed-off-by: Jacques Samain <jsamain@cisco.com>
1 parent 6b4544a commit 5e150bd

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/api_docker_image_release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
# This assumes tags are in this form
3333
# api-v<version>
3434
35-
_target=api
35+
_target=${GITHUB_REF_NAME}
3636
target=${_target%-v*}
3737
3838
# get version only

.github/workflows/mce_docker_image_release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
# This assumes tags are in this form
3333
# mce-v<version>
3434
35-
_target=mce
35+
_target=${GITHUB_REF_NAME}
3636
target=${_target%-v*}
3737
3838
# get version only

0 commit comments

Comments
 (0)