Skip to content

Switch to Azure Linux base image #23

Switch to Azure Linux base image

Switch to Azure Linux base image #23

Workflow file for this run

name: Run Docker build
on:
pull_request:
paths:
- Dockerfile.web
- Dockerfile.api
types: [opened, synchronize]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
image: [
"web",
"api"
]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build docker image
uses: docker/build-push-action@v6
with:
file: './Dockerfile.${{ matrix.image }}'
secrets: github_token=${{ secrets.GITHUB_TOKEN }}
cache-from: type=gha
cache-to: type=gha
push: false