Use GitHub cache backend for docker builds
This commit is contained in:
5
.github/workflows/deploy-docker.yml
vendored
5
.github/workflows/deploy-docker.yml
vendored
@@ -26,6 +26,7 @@ jobs:
|
||||
with:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_TOKEN }}
|
||||
|
||||
- name: Docker meta
|
||||
id: meta
|
||||
uses: docker/metadata-action@v4
|
||||
@@ -40,11 +41,13 @@ jobs:
|
||||
uses: docker/build-push-action@v4.0.0
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
push: false
|
||||
tags: ${{ steps.meta.outputs.tags }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
platforms: linux/amd64,linux/arm64,linux/arm/v7
|
||||
build-args: BUILDX_QEMU_ENV=true
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
|
||||
# File size exceeds the maximum allowed 25000 bytes
|
||||
# - name: Docker Hub Description
|
||||
|
||||
Reference in New Issue
Block a user