Skip to content

Commit

Permalink
Use build action with cache for image builds
Browse files Browse the repository at this point in the history
  • Loading branch information
BtbN committed May 23, 2024
1 parent 4aa5635 commit 4d14274
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/run-coverity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,17 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Buildx
uses: docker/setup-buildx-action@v3
- name: Build Image
run: docker build -t coverity-img .
uses: docker/build-push-action@v5
with:
context: .
tags: coverity-img:latest
load: true
pull: true
cache-to: type=gha,mode=max
cache-from: type=gha
- name: Run Coverity
run: |
set -e
Expand Down

0 comments on commit 4d14274

Please sign in to comment.