-
Notifications
You must be signed in to change notification settings - Fork 1
47 lines (47 loc) · 1.5 KB
/
Copy pathdocker.yml
File metadata and controls
47 lines (47 loc) · 1.5 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
41
42
43
44
45
46
47
name: Docker
on:
push:
paths:
- .github/workflows/docker.yml
- docker/**
- Makefile
env:
DOCKER_BUILDKIT: 1
REGISTRY_TOKEN: ${{ secrets.GITHUB_PACKAGE_REGISTRY_TOKEN }}
jobs:
build-hadolint:
name: Build Hadolint
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Git checkout
uses: actions/checkout@v1
- name: Build image
run: docker build -t docker.pkg.github.com/tedmiston/qcbrunch/hadolint:${{ github.sha }} .
working-directory: docker/hadolint
- name: Publish image
run: make IMAGE="hadolint:${{ github.sha }}" publish-image
build-html-validator:
name: Build HTML validator
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Git checkout
uses: actions/checkout@v1
- name: Build image
run: docker build -t docker.pkg.github.com/tedmiston/qcbrunch/html-validator:${{ github.sha }} .
working-directory: docker/html-validator
- name: Publish image
run: make IMAGE="html-validator:${{ github.sha }}" publish-image
build-js-validator:
name: Build JS validator
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Git checkout
uses: actions/checkout@v1
- name: Build image
run: docker build -t docker.pkg.github.com/tedmiston/qcbrunch/js-validator:${{ github.sha }} .
working-directory: docker/js-validator
- name: Publish image
run: make IMAGE="js-validator:${{ github.sha }}" publish-image