Skip to content

Commit 6b825fa

Browse files
authored
Merge pull request #8860 from cfpb/feature/build-docker-action
Add GitHub Action to validate Docker image build
2 parents 2267e34 + d61ae73 commit 6b825fa

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

.github/workflows/build-docker.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Build cf.gov Docker images
2+
3+
on:
4+
pull_request:
5+
merge_group:
6+
workflow_dispatch:
7+
8+
jobs:
9+
build-docker-images:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v4
15+
16+
- name: Build cfgov image
17+
run: docker build -t cfgov:latest .
18+
19+
- name: Build cfgov-apache image
20+
run: docker build -t cfgov-apache:latest cfgov/apache

0 commit comments

Comments
 (0)