Skip to content

Commit

Permalink
Added .github/workflows/docker.yml (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
Nusnus authored Dec 7, 2023
1 parent 392272d commit 3593a02
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
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 .

0 comments on commit 3593a02

Please sign in to comment.