Skip to content

Commit

Permalink
fix workflow - tag names
Browse files Browse the repository at this point in the history
  • Loading branch information
wardviaene committed Feb 8, 2022
1 parent 0eff604 commit 8fd7d87
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/public-ecr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ jobs:
docker push public.ecr.aws/y9x3p3i6/roxprox:latest
docker push in4it/roxprox:latest
- name: Tag and push specific version
if: startsWith(github.ref, '/refs/tags/*')
if: startsWith(github.ref, 'refs/tags/')
run: |
docker tag roxprox:latest public.ecr.aws/y9x3p3i6/roxprox:${GITHUB_REF/refs\/tags\//}
docker tag roxprox:latest in4it/roxprox:${GITHUB_REF/refs\/tags\//}
docker push public.ecr.aws/y9x3p3i6/roxprox:${GITHUB_REF/refs\/tags\//}
docker push in4it/roxprox:${GITHUB_REF/refs\/tags\//}
docker tag roxprox:latest public.ecr.aws/y9x3p3i6/roxprox:${{ github.ref_name }}
docker tag roxprox:latest in4it/roxprox:${{ github.ref_name }}
docker push public.ecr.aws/y9x3p3i6/roxprox:${{ github.ref_name }}
docker push in4it/roxprox:${{ github.ref_name }}

0 comments on commit 8fd7d87

Please sign in to comment.