forked from cfpb/consumerfinance.gov
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (29 loc) · 908 Bytes
/
docker.yml
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
name: docker
on: merge_group
env:
TEST_TAG: cfpb/consumerfinancegov:test
jobs:
zip_docker:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dorny/paths-filter@v2
id: filter
with:
filters: |
docker:
- 'docker/deployable-zipfile/Dockerfile'
- name: Setup QEMU
if: steps.filter.outputs.docker == 'true'
uses: docker/setup-qemu-action@v1
- name: Setup Docker Buildx
if: steps.filter.outputs.docker == 'true'
uses: docker/setup-buildx-action@v1
- name: Build zipfile and export to Docker (not DockerHub)
if: steps.filter.outputs.docker == 'true'
uses: docker/build-push-action@v2
with:
context: ./docker/deployable-zipfile/
load: true
tag: ${{ env.TEST_TAG }}
build-args: FRONTEND_TARGET=production