Skip to content

Commit

Permalink
Add docker_build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Rivixer committed May 14, 2024
1 parent 0a90bd7 commit 259cd33
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/docker_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Docker Build

on:
pull_request:
branches:
- develop
types:
- opened
- reopened
- synchronize
- ready_for_review

jobs:
docker_build:
name: Docker Build
runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.draft }}

steps:
- name: Set environment variables
run: echo "${{secrets.WEBSITE_ENV }}" > .env

- name: Clone repository
uses: actions/checkout@v4

- name: Build Docker image
run: docker build .

0 comments on commit 259cd33

Please sign in to comment.