From 4066320edf994dd484802778d35950a585c8bd95 Mon Sep 17 00:00:00 2001 From: Nick Amoscato Date: Thu, 2 Jul 2020 19:15:50 -0400 Subject: [PATCH] Finalize Docker publishing (#36) --- .github/workflows/release.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 688243d..a693743 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }} @@ -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