Update docker-compose.dotnet.yml to build dotnetcore 8 (#111) #16
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: CD | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
push: | |
name: Push | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: . | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Set up Docker Context for Buildx | |
id: buildx-context | |
run: | | |
docker context create builders | |
- name: Set up Docker Builder | |
uses: docker/setup-buildx-action@v2 | |
with: | |
version: latest | |
install: true | |
endpoint: builders | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
with: | |
platforms: arm64,amd64 | |
- name: Login to DockerHub | |
uses: docker/login-action@v2 | |
with: | |
username: "${{ secrets.DOCKER_USER }}" | |
password: "${{ secrets.DOCKER_PASS }}" | |
- name: "Push" | |
run: make push |