Skip to content

Try pwsh

Try pwsh #4

name: Build and Push Docker Image
on:
pull_request:
branches: [ master ]
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/checkout@v2
- name: Log in to Docker Hub
run: |
docker login guildwarspartysearch.azurecr.io --username "${{ secrets.DOCKERHUB_USERNAME }}" --password "${{ secrets.DOCKERHUB_PASSWORD }}"
- name: Build and push Docker image
run: |
cd GuildWarsPartySearch
.\BuildDockerImage.ps1
docker push guildwarspartysearch.azurecr.io/guildwarspartysearch.server
shell: pwsh