Skip to content

Commit

Permalink
Fix auto docker release tag push
Browse files Browse the repository at this point in the history
  • Loading branch information
benjojo committed Feb 23, 2023
1 parent a2c661f commit df1dbde
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/docker-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Get short SHA from commit hash
id: shacalc
run: echo "::set-output name=tagname::$(git describe --tags --abbrev=0 HEAD)"

- name: Check Out Repo
uses: actions/checkout@v2

- name: Get short SHA from commit hash
id: tagcalc
run: echo "::set-output name=tagname::$(git describe --tags --abbrev=0 HEAD)"

- name: Login to Docker Hub
uses: docker/login-action@v1
with:
Expand All @@ -34,7 +34,7 @@ jobs:
context: ./
file: ./Dockerfile
push: true
tags: rpki/stayrtr:latest,rpki/stayrtr:${{ steps.shacalc.outputs.tagname }}
tags: rpki/stayrtr:latest,rpki/stayrtr:${{ steps.tagcalc.outputs.tagname }}
target: stayrtr

- name: Image digest (stayrtr)
Expand All @@ -47,7 +47,7 @@ jobs:
context: ./
file: ./Dockerfile
push: true
tags: rpki/rtrmon:latest,rpki/rtrmon:${{ steps.shacalc.outputs.tagname }}
tags: rpki/rtrmon:latest,rpki/rtrmon:${{ steps.tagcalc.outputs.tagname }}
target: rtrmon

- name: Image digest (rtrmon)
Expand All @@ -60,7 +60,7 @@ jobs:
context: ./
file: ./Dockerfile
push: true
tags: rpki/rtrdump:latest,rpki/rtrdump:${{ steps.shacalc.outputs.tagname }}
tags: rpki/rtrdump:latest,rpki/rtrdump:${{ steps.tagcalc.outputs.tagname }}
target: rtrdump

- name: Image digest (rtrdump)
Expand Down

0 comments on commit df1dbde

Please sign in to comment.