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 d1c9f45 commit 6b7a658Copy full SHA for 6b7a658
.github/workflows/dockerimage.yml
@@ -12,9 +12,9 @@ jobs:
12
- uses: actions/checkout@v2
13
with:
14
fetch-depth: '0'
15
- - run: echo ::set-output name=tag_name::$(head -1 Dockerfile | awk '{print $2}' | tr ':' ' '| awk '{print $2}')
16
- id: tag_name_step
+ - id: tagName
+ run: echo ::set-output name=tag_name::$(head -1 Dockerfile | awk '{print $2}' | tr ':' ' '| awk '{print $2}')
17
- uses: anothrNick/github-tag-action@1.30.0
18
env:
19
- CUSTOM_TAG: ${{ steps.tag_name_step.tag_name }}
+ CUSTOM_TAG: ${{ steps.tagName.outputs.tag_name }}
20
# docker build . --file Dockerfile --tag apache-php-web:$(awk -F ":" 'NR==1{print $2}' Dockerfile)
0 commit comments