Use Github Actions for Docker build caches (#459)
This commit is contained in:
@@ -85,3 +85,6 @@ jobs:
|
|||||||
${{ steps.meta.outputs.bake-file }}
|
${{ steps.meta.outputs.bake-file }}
|
||||||
push: true
|
push: true
|
||||||
targets: ${{ matrix.targets }}
|
targets: ${{ matrix.targets }}
|
||||||
|
set: |
|
||||||
|
_common.cache-to=type=gha,mode=max
|
||||||
|
_common.cache-from=type=gha
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
name: Publish Feature Brunch
|
name: Publish Feature Branch
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@@ -55,7 +55,7 @@ jobs:
|
|||||||
uses: docker/metadata-action@v5
|
uses: docker/metadata-action@v5
|
||||||
with:
|
with:
|
||||||
tags: |
|
tags: |
|
||||||
${{ github.head_ref || github.ref_name }}
|
${{ github.head_ref || github.ref_name }}
|
||||||
|
|
||||||
- name: Login to Docker Hub
|
- name: Login to Docker Hub
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
@@ -79,3 +79,6 @@ jobs:
|
|||||||
${{ steps.meta.outputs.bake-file }}
|
${{ steps.meta.outputs.bake-file }}
|
||||||
push: true
|
push: true
|
||||||
targets: ${{ matrix.targets }}
|
targets: ${{ matrix.targets }}
|
||||||
|
set: |
|
||||||
|
_common.cache-to=type=gha,mode=max
|
||||||
|
_common.cache-from=type=gha
|
||||||
|
|||||||
Reference in New Issue
Block a user