Skip to content

Commit df1dbde

Browse files
committed
Fix auto docker release tag push
1 parent a2c661f commit df1dbde

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/docker-tag.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ jobs:
1010
build:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- name: Get short SHA from commit hash
14-
id: shacalc
15-
run: echo "::set-output name=tagname::$(git describe --tags --abbrev=0 HEAD)"
16-
1713
- name: Check Out Repo
1814
uses: actions/checkout@v2
1915

16+
- name: Get short SHA from commit hash
17+
id: tagcalc
18+
run: echo "::set-output name=tagname::$(git describe --tags --abbrev=0 HEAD)"
19+
2020
- name: Login to Docker Hub
2121
uses: docker/login-action@v1
2222
with:
@@ -34,7 +34,7 @@ jobs:
3434
context: ./
3535
file: ./Dockerfile
3636
push: true
37-
tags: rpki/stayrtr:latest,rpki/stayrtr:${{ steps.shacalc.outputs.tagname }}
37+
tags: rpki/stayrtr:latest,rpki/stayrtr:${{ steps.tagcalc.outputs.tagname }}
3838
target: stayrtr
3939

4040
- name: Image digest (stayrtr)
@@ -47,7 +47,7 @@ jobs:
4747
context: ./
4848
file: ./Dockerfile
4949
push: true
50-
tags: rpki/rtrmon:latest,rpki/rtrmon:${{ steps.shacalc.outputs.tagname }}
50+
tags: rpki/rtrmon:latest,rpki/rtrmon:${{ steps.tagcalc.outputs.tagname }}
5151
target: rtrmon
5252

5353
- name: Image digest (rtrmon)
@@ -60,7 +60,7 @@ jobs:
6060
context: ./
6161
file: ./Dockerfile
6262
push: true
63-
tags: rpki/rtrdump:latest,rpki/rtrdump:${{ steps.shacalc.outputs.tagname }}
63+
tags: rpki/rtrdump:latest,rpki/rtrdump:${{ steps.tagcalc.outputs.tagname }}
6464
target: rtrdump
6565

6666
- name: Image digest (rtrdump)

0 commit comments

Comments
 (0)