Skip to content

Commit

Permalink
#61 Generate docker tag per release
Browse files Browse the repository at this point in the history
  • Loading branch information
natenho committed Oct 9, 2021
1 parent 0c342a6 commit 6ac147f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/aspnetcore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ jobs:
- name: Determine Version
id: git_version
uses: gittools/actions/gitversion/execute@v0.9.7
- name: Display SemVer
run: |
echo "SemVer: ${{ steps.git_version.semVer }}"
- name: Restore dependencies
run: dotnet restore
- name: Build
Expand Down Expand Up @@ -76,7 +73,7 @@ jobs:
context: ./
file: ./src/Mockaco/Docker/Dockerfile
push: ${{ !contains(github.event.head_commit.message, 'skip-docker') }}
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/mockaco:latest
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/mockaco:latest,${{ secrets.DOCKER_HUB_USERNAME }}/mockaco:${{ steps.tag_version.outputs.new_tag }}
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache
- name: Image digest
Expand Down

0 comments on commit 6ac147f

Please sign in to comment.