Skip to content

Commit

Permalink
fix cache-from and add concurrency to build_run
Browse files Browse the repository at this point in the history
  • Loading branch information
murtll authored Mar 14, 2023
1 parent ddb25c6 commit 99b252b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/build_run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ jobs:
build_run:
name: Build and run
runs-on: ubuntu-latest
concurrency:
group: ${{ github.job }}-pr-${{ github.head_ref }}-to-${{ github.base_ref }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v3

Expand All @@ -35,7 +38,7 @@ jobs:
context: .
push: false
tags: ${{ github.registry }}
cache-from: type=registry,ref=${{ vars.DOCKER_REGISTRY }}/${{ github.repository }}:buildcache
cache-from: type=registry,ref=${{ vars.DOCKER_REGISTRY }}/${{ github.repository }}-buildcache:${{ github.base_ref }}

- name: Create network
run: |
Expand Down

0 comments on commit 99b252b

Please sign in to comment.