Skip to content

Commit

Permalink
Add GitHub action to check build
Browse files Browse the repository at this point in the history
  • Loading branch information
camilamacedo86 committed Sep 23, 2023
1 parent fe1bcc4 commit 952abdb
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Test Build

on:
push:
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: make build

build-docker:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Build Docker image
run: make container-init

- name: Build inside Docker container
run: make container-build

0 comments on commit 952abdb

Please sign in to comment.