Skip to content

Commit d1c9f45

Browse files
committed
fix expression
1 parent bb1718e commit d1c9f45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/dockerimage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/checkout@v2
1313
with:
1414
fetch-depth: '0'
15-
- run: echo ::set-output name=tag_name::$(awk -F ":" 'NR==1{print $2}' Dockerfile)
15+
- run: echo ::set-output name=tag_name::$(head -1 Dockerfile | awk '{print $2}' | tr ':' ' '| awk '{print $2}')
1616
id: tag_name_step
1717
- uses: anothrNick/github-tag-action@1.30.0
1818
env:

0 commit comments

Comments
 (0)