Skip to content

Adjust docker image build #3

Adjust docker image build

Adjust docker image build #3

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: powershell