Skip to content

Commit

Permalink
Update push.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
judge2020 authored Sep 6, 2019
1 parent fd0bbd2 commit 10fca72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Tag the Docker image
run: |
docker tag eb:latest docker.pkg.github.com/judge2020/eb-cli-github-action/eb:$(date +%s)
docker tag eb:latest docker.pkg.github.com/judge2020/eb-cli-github-action/eb:${GITHUB_SHA:0:63}
docker tag eb:latest docker.pkg.github.com/judge2020/eb-cli-github-action/eb:${GITHUB_SHA:0:32}
docker tag eb:latest docker.pkg.github.com/judge2020/eb-cli-github-action/eb:${GITHUB_REF/refs\/heads\//} || echo "failsafe for non-conforming branch names"
- name: Tag latest if master
if: github.ref == 'refs/heads/master'
Expand Down

0 comments on commit 10fca72

Please sign in to comment.