We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb1718e commit d1c9f45Copy full SHA for d1c9f45
.github/workflows/dockerimage.yml
@@ -12,7 +12,7 @@ jobs:
12
- uses: actions/checkout@v2
13
with:
14
fetch-depth: '0'
15
- - run: echo ::set-output name=tag_name::$(awk -F ":" 'NR==1{print $2}' Dockerfile)
+ - run: echo ::set-output name=tag_name::$(head -1 Dockerfile | awk '{print $2}' | tr ':' ' '| awk '{print $2}')
16
id: tag_name_step
17
- uses: anothrNick/github-tag-action@1.30.0
18
env:
0 commit comments