There was an error while loading. Please reload this page.
1 parent 3d07955 commit 19b6311Copy full SHA for 19b6311
1 file changed
.github/workflows/build-and-push.yml
@@ -11,6 +11,8 @@ on:
11
jobs:
12
build:
13
runs-on: ubuntu-latest
14
+ permissions:
15
+ contents: read
16
steps:
17
- name: Checkout
18
uses: actions/checkout@v4
@@ -39,7 +41,10 @@ jobs:
39
41
password: ${{ secrets.DOCKER_HUB_TOKEN }}
40
42
43
- name: Build and push
- run: docker buildx bake all --push
44
+ run: |
45
+ docker buildx bake all --push \
46
+ --set "*.cache-from=type=gha" \
47
+ --set "*.cache-to=type=gha,mode=max"
48
env:
49
BUGHOG_VERSION: ${{ steps.meta.outputs.version }}
50
ADDITIONAL_TAG: ${{ steps.meta.outputs.additional_tag }}
0 commit comments