Skip to content

Commit 809cdb5

Browse files
author
Ross
committed
Add no caching to builds from main
1 parent d660247 commit 809cdb5

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/build.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ on:
66
tags:
77
- "*"
88
workflow_dispatch:
9+
inputs:
10+
no-cache:
11+
description: 'disable caching'
12+
default: false
13+
type: boolean
914

1015
jobs:
1116
build:
@@ -35,3 +40,4 @@ jobs:
3540
platforms: linux/amd64,linux/arm64
3641
tag: ${{ matrix.rhel }}-${{ steps.tag.outputs.tag }}
3742
dockerfile: base-${{ matrix.rhel }}/Dockerfile
43+
no-cache: ${{ inputs.no-cache || 'false' }}

0 commit comments

Comments
 (0)