Skip to content

Commit

Permalink
Finalize Docker publishing (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
namoscato authored Jul 2, 2020
1 parent dad6118 commit 4066320
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@ on:
jobs:
git:
runs-on: ubuntu-latest
outputs:
major_tag: REF=${{ steps.tag.outputs.ref }}; echo ${REF#tags/}
steps:
- name: Bump git tags
- id: tag
name: Bump git tags
uses: Actions-R-Us/actions-tagger@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -24,6 +27,6 @@ jobs:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: namoscato/github-action-tinify
tags: latest,${{ needs.git.outputs.ref }}
tags: latest,${{ needs.git.outputs.major_tag }}
tag_with_ref: true
add_git_labels: true

0 comments on commit 4066320

Please sign in to comment.