Skip to content

Commit 73ab0fa

Browse files
author
Dennis Labordus
committed
Added docker file and dockerhub publish action.
Signed-off-by: Dennis Labordus <dennis.labordus@alliander.com>
1 parent 059843c commit 73ab0fa

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/dockerhub_publish.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ jobs:
1515
steps:
1616
- name: Check out the repo
1717
uses: actions/checkout@v2
18+
- name: Extract tag name
19+
id: extract_tagname
20+
shell: bash
21+
run: echo "##[set-output name=tagname;]$(echo ${GITHUB_REF##*/})"
1822
- name: Use Node.js 14.x
1923
uses: actions/setup-node@v1
2024
with:
@@ -33,5 +37,5 @@ jobs:
3337
with:
3438
push: true
3539
tags: |
36-
lfenergycompas/compas-open-scd:${{ GITHUB_REF##*/ }}
40+
lfenergycompas/compas-open-scd:${{ steps.extract_tagname.outputs.tagname }}
3741
lfenergycompas/compas-open-scd:latest

0 commit comments

Comments
 (0)