Skip to content

Test Dockerfile CI jobs #3

Test Dockerfile CI jobs

Test Dockerfile CI jobs #3

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: actions/checkout@v4
uses: docker/build-push-action@v5

Check failure on line 36 in .github/workflows/docker-images.yml

View workflow run for this annotation

GitHub Actions / Check Docker images

Invalid workflow file

The workflow is not valid. .github/workflows/docker-images.yml (Line: 36, Col: 9): 'uses' is already defined
with:
file: ./Dockerfile.windows