Skip to content

Allow configuration from file-based env variables #32

Allow configuration from file-based env variables

Allow configuration from file-based env variables #32

Workflow file for this run

name: Test Docker build
on: [pull_request]
env:
TEST_TAG: cfpb/website-indexer:test
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build a test image
uses: docker/build-push-action@v6
with:
load: true
tags: ${{ env.TEST_TAG }}
cache-from: type=gha
cache-to: type=gha,mode=max
- name: Test the image
run: docker run --rm ${{ env.TEST_TAG }} python manage.py check