Skip to content

Commit

Permalink
push tag version on promotion to chaos
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreBesson committed Jun 30, 2021
1 parent 1f32e50 commit bffd8e3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/promote_chaos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,12 @@ jobs:
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
- name: Set release version
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Push with chaos tag
run: |
docker pull ternoa/ternoa-chain:${{ github.sha }}
docker tag ternoa/ternoa-chain:${{ github.sha }} ternoa/ternoa-chain:${{ env.RELEASE_VERSION }}
docker tag ternoa/ternoa-chain:${{ github.sha }} ternoa/ternoa-chain:chaos
docker push ternoa/ternoa-chain:${{ env.RELEASE_VERSION }}
docker push ternoa/ternoa-chain:chaos

0 comments on commit bffd8e3

Please sign in to comment.