Skip to content

Commit

Permalink
Seems wasteful, but pull image before tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
daaang committed Sep 11, 2020
1 parent ba1a439 commit 3b9450c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docker-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ jobs:
uses: actions/checkout@v2
- name: Tag latest release in DockerHub
run: |
docker tag mlibrary/mattlach-phineas-testing-actions:testing-${{ github.sha }} mlibrary/mattlach-phineas-testing-actions:${{ github.event.release.tag_name }}
docker tag mlibrary/mattlach-phineas-testing-actions:testing-${{ github.sha }} mlibrary/mattlach-phineas-testing-actions:latest
docker pull mlibrary/mattlach-phineas-testing-actions:testing-${{ github.sha }}
docker tag mattlach-phineas-testing-actions:testing-${{ github.sha }} mlibrary/mattlach-phineas-testing-actions:${{ github.event.release.tag_name }}
docker tag mattlach-phineas-testing-actions:testing-${{ github.sha }} mlibrary/mattlach-phineas-testing-actions:latest
- name: Update DockerHub README
uses: peter-evans/dockerhub-description@v2
env:
Expand Down

0 comments on commit 3b9450c

Please sign in to comment.