Skip to content

Commit

Permalink
Update docker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kobenguyent committed Jun 21, 2023
1 parent b87f402 commit 103e18a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: 'Get Previous tag'
id: previoustag
uses: actions/checkout@v2
- run: git fetch --prune --unshallow && TAG=$(git describe --tags --abbrev=0) && echo $TAG
- run: git fetch --prune --unshallow && TAG=$(git describe --tags --abbrev=0) && echo $TAG && echo "::set-env name=TAG::$TAG"

- name: Push to Docker Hub
uses: docker/build-push-action@v1 # Info: https://github.com/docker/build-push-action/tree/releases/v1#tags
Expand All @@ -29,4 +29,4 @@ jobs:
repository: ${{ secrets.DOCKERHUB_REPOSITORY }}
tag_with_ref: true # Info: https://github.com/docker/build-push-action/tree/releases/v1#tag_with_ref
tag_with_sha: true # Info: https://github.com/docker/build-push-action/tree/releases/v1#tag_with_sha
tags: $TAG
tags: $ {{ TAG }}

0 comments on commit 103e18a

Please sign in to comment.