Skip to content

Commit

Permalink
Merge pull request #8 from mathmelo/feature/ci-docker-image
Browse files Browse the repository at this point in the history
feat: add docker build image to github actions
  • Loading branch information
mathmelo authored Jun 13, 2024
2 parents 6219936 + 1b225e5 commit 26e4292
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,23 @@ on:
jobs:
check-application:
runs-on: ubuntu-latest
strategy:
matrix:
version: [20, 14]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.version }}
node-version: 20
- run: npm run test
- run: npm run start

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

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

- name: Build and push
id: docker_build
uses: docker/build-push-action@v5
with:
push: false
tags: mathmelo/ci-github-actions:latest

0 comments on commit 26e4292

Please sign in to comment.