Skip to content

Test Dockerfile CI jobs #4

Test Dockerfile CI jobs

Test Dockerfile CI jobs #4

Workflow file for this run

name: Check Docker images
on:
pull_request: {}
# pull_request:
# paths:
# - Dockerfile
# - Dockerfile.windows
# - Makefile
# - 'tools/make/*'
jobs:
# NOTE(rfratto): We only test building the Docker images for the host
# platform, but we're really only looking for issues that are
# architecture-independent.
linux:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Build image
run: |
docker build -t alloy-test:latest -f Dockerfile .
windows:
runs-on: windows-2019
steps:
- uses: actions/checkout@v4
- name: Build image
run: |
docker build -t alloy-test:latest -f Dockerfile.windows .
windows-test:
runs-on: windows-2019
steps:
- uses: docker/build-push-action@v5
with:
file: ./Dockerfile.windows