Skip to content

Commit

Permalink
use docker/build-push-action
Browse files Browse the repository at this point in the history
  • Loading branch information
antonkesy committed Jan 21, 2024
1 parent 010d518 commit b9a0243
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,14 @@ on:
branches: [main]

jobs:
build:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build Docker image
run: |
docker build . -t ci
- name: Checkout
uses: actions/checkout@v3
with:
submodules: "true"
- name: build and pre-commit
uses: docker/build-push-action@v5
with:
context: .

0 comments on commit b9a0243

Please sign in to comment.