Skip to content

Commit

Permalink
Added Github Actions for testing PRs for Docker Builds (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sak1012 authored May 23, 2024
1 parent c308e86 commit 8c3ed53
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/docker-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Docker PR Build

on:
pull_request:
branches: [development, main]

jobs:
build_docker_image:
name: Build Docker image
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.8"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r src/requirements.txt
- name: Build Docker image
run: docker build -t eventyay-tickets:${{ github.sha }} .

0 comments on commit 8c3ed53

Please sign in to comment.