Bugfix: WORKER_DOCKERFILE_ROOTDIR now uses resource_filename() (#150) #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Docker | |
on: | |
pull_request: | |
branches: [ 'main'] | |
paths: | |
- 'src/pytest_celery/vendors/worker/**' | |
- '.github/workflows/docker.yml' | |
- 'Dockerfile' | |
push: | |
branches: [ 'main'] | |
paths: | |
- 'src/pytest_celery/vendors/worker/**' | |
- '.github/workflows/docker.yml' | |
- 'Dockerfile' | |
jobs: | |
build-worker: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Build Celery Worker | |
run: cd src/pytest_celery/vendors/worker && docker build -t pytest-celery-worker . |