Skip to content

Commit 6b7a658

Browse files
committed
fix tagging
1 parent d1c9f45 commit 6b7a658

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/dockerimage.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ jobs:
1212
- uses: actions/checkout@v2
1313
with:
1414
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
15+
- id: tagName
16+
run: echo ::set-output name=tag_name::$(head -1 Dockerfile | awk '{print $2}' | tr ':' ' '| awk '{print $2}')
1717
- uses: anothrNick/github-tag-action@1.30.0
1818
env:
19-
CUSTOM_TAG: ${{ steps.tag_name_step.tag_name }}
19+
CUSTOM_TAG: ${{ steps.tagName.outputs.tag_name }}
2020
# docker build . --file Dockerfile --tag apache-php-web:$(awk -F ":" 'NR==1{print $2}' Dockerfile)

0 commit comments

Comments
 (0)