Update dependencies from https://github.com/dotnet/arcade build 20240… #862
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: Dockerfiles Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
# Check out the branch | |
- name: Checkout Code | |
uses: actions/checkout@v2 | |
# Setup up builder | |
- name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
# Run a build for the Dockerfiles but don't publish | |
- name: Build Combined | |
id: docker_combined | |
uses: docker/build-push-action@v2 | |
with: | |
context: ./ | |
file: ./samples/KubernetesIngress.Sample/Combined/Dockerfile | |
push: false | |
tags: microsoft/yarp-combined:latest | |
- name: Build Ingress | |
id: docker_ingress | |
uses: docker/build-push-action@v2 | |
with: | |
context: ./ | |
file: ./samples/KubernetesIngress.Sample/Ingress/Dockerfile | |
push: false | |
tags: microsoft/yarp-ingress:latest | |
- name: Build Monitor | |
id: docker_monitor | |
uses: docker/build-push-action@v2 | |
with: | |
context: ./ | |
file: ./samples/KubernetesIngress.Sample/Monitor/Dockerfile | |
push: false | |
tags: microsoft/yarp-monitor:latest | |
- name: Build Backend | |
id: docker_backend | |
uses: docker/build-push-action@v2 | |
with: | |
context: ./ | |
file: ./samples/KubernetesIngress.Sample/backend/Dockerfile | |
push: false | |
tags: microsoft/yarp-backend:latest |