Create docker_compose.yml #1
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker Image CI | |
on: | |
push: | |
jobs: | |
build: | |
runs-on: windows-2019 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Login to Docker Registry | |
run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login acr.azurecr.io -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin | |
- name: Build and run Docker Compose | |
run: | | |
export COMPUTERNAME=$(hostname) | |
docker-compose up -d |