Skip to content
This repository has been archived by the owner on Jun 15, 2023. It is now read-only.

Commit

Permalink
fix: docker tag
Browse files Browse the repository at this point in the history
  • Loading branch information
boypt committed Jul 13, 2021
1 parent 3ef184a commit fb89d04
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/docker-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,9 @@ jobs:
- name: Get tag to build
id: tag
run: |
echo "Use tag: ${{ github.event.inputs.tag }}"
echo ::set-output name=tag::${{ github.event.inputs.tag }}
latest_tag=$(git describe --tags)
echo "Use the latest release tag: ${latest_tag}"
echo ::set-output name=tag::${latest_tag}
- name: Determine whether to push to DockerHub
if: github.event_name == 'workflow_dispatch'
Expand Down

0 comments on commit fb89d04

Please sign in to comment.