Skip to content

Commit

Permalink
add build action
Browse files Browse the repository at this point in the history
  • Loading branch information
LordTermor committed Feb 29, 2024
1 parent 27175c4 commit 390550c
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Build master
on: [push, pull_request]
jobs:
build-docker:
name: Build application in docker
runs-on: ubuntu-latest

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

0 comments on commit 390550c

Please sign in to comment.