forked from grafana/alloy
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (35 loc) · 1.03 KB
/
docker-images.yml
File metadata and controls
40 lines (35 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Check Docker images
on:
pull_request:
paths:
- Dockerfile
- Dockerfile.windows
- Makefile
- 'tools/make/*'
permissions:
contents: read
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:
# We use a large runner for the additional disk space.
runs-on: github-hosted-ubuntu-x64-large
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Build image
run: |
docker build -t alloy-test:latest -f Dockerfile .
windows:
runs-on: windows-2022
steps:
- name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: false
- name: Build image
run: |
docker build -t alloy-test:latest -f Dockerfile.windows .