Skip to content

Commit

Permalink
Added conditional docker layer caching (release flow)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkonst committed Mar 19, 2024
1 parent 59aff06 commit 08915c1
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build-release-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ on:
required: false
type: string
default: .
use_docker_cache:
required: false
type: boolean
default: true

jobs:
release:
Expand All @@ -21,7 +25,9 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: satackey/action-docker-layer-caching@46d2c640b1d8ef50d185452ad6fb324e6bd1d052
- name: docker-layer-caching
if: ${{ inputs.use_docker_cache }}
uses: satackey/action-docker-layer-caching@46d2c640b1d8ef50d185452ad6fb324e6bd1d052
continue-on-error: true
- uses: actions/cache@v4
with:
Expand Down

0 comments on commit 08915c1

Please sign in to comment.