File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff 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 :
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)
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)
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)
You can’t perform that action at this time.
0 commit comments