Skip to content

Commit

Permalink
Update dotnetcore-build-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
realwoopee authored Jun 3, 2021
1 parent 49c935b commit 6dc5607
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dotnetcore-build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v1
- name: Get tag version
id: get_version
run: echo ::set-env name=TAG_NAME::$(echo ${GITHUB_REF/refs\/tags\//})
run: echo "TAG_NAME=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Setup .NET Core SDK
uses: actions/setup-dotnet@v1
with:
Expand All @@ -22,7 +22,7 @@ jobs:
run: dotnet publish dotnet-app/APIL/WordCounterBot.APIL.WebApi.csproj -c Release -o ./app
- name: Build & Publish Docker image
if: success()
uses: opspresso/[email protected].1
uses: opspresso/[email protected].17
env:
USERNAME: ${{ secrets.DOCKER_USERNAME }}
PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
Expand Down

0 comments on commit 6dc5607

Please sign in to comment.