Skip to content

Commit

Permalink
[ci] Add build workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
LordTermor committed Mar 1, 2024
1 parent ab76042 commit 8400abf
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build with docker
on: [push, pull_request]

jobs:
build-docker:
name: Build
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
driver: docker
- name: Build dev environment
uses: docker/build-push-action@v5
with:
context: .
push: false
tags: bxt:dev
file: docker/dev.Dockerfile
- name: Build prod
uses: docker/build-push-action@v5
with:
context: .
push: false
tags: bxt:0.1
file: docker/prod.Dockerfile

0 comments on commit 8400abf

Please sign in to comment.