Skip to content

.github/workflows/docker.yml #2995

.github/workflows/docker.yml

.github/workflows/docker.yml #2995

Workflow file for this run

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