Skip to content

Commit

Permalink
Adjust docker deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexMacocian committed Nov 24, 2023
1 parent 8e0bc76 commit 49a814c
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/docker-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@ jobs:
uses: actions/checkout@v2

- name: Publish .NET project
run: dotnet publish GuildWarsPartySearch/GuildWarsPartySearch.Server.csproj -c Release -o out
run: dotnet publish GuildWarsPartySearch/GuildWarsPartySearch.Server.csproj -c Release

- name: Log in to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
run: |
docker login guildwarspartysearch.azurecr.io --username "${{ secrets.DOCKERHUB_USERNAME }}" --password "${{ secrets.DOCKERHUB_PASSWORD }}"
- name: Build and push Docker image
uses: docker/build-push-action@v2
Expand Down

0 comments on commit 49a814c

Please sign in to comment.