You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/actions/configure-docker/action.yml
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,12 @@
1
1
name: 'Configure Docker'
2
2
description: 'Set up Docker build driver and configure build cache args'
3
3
inputs:
4
-
use-cirrus:
5
-
description: 'Use cirrus cache'
4
+
cache-provider:
5
+
description: 'gha or cirrus cache provider'
6
6
required: true
7
+
options:
8
+
- gh
9
+
- cirrus
7
10
runs:
8
11
using: 'composite'
9
12
steps:
@@ -32,7 +35,7 @@ runs:
32
35
# which are set automatically when running on GitHub infra: https://docs.docker.com/build/cache/backends/gha/#synopsis
33
36
34
37
# Use cirrus cache host
35
-
if [[ ${{ inputs.use-cirrus }} == 'true' ]]; then
38
+
if [[ ${{ inputs.cache-provider }} == 'cirrus' ]]; then
0 commit comments