Skip to content

Commit

Permalink
fix: docker workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
eredotpkfr committed Dec 2, 2024
1 parent e7055ab commit 59e27ae
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:

env:
BUILD_CACHE: buildcache
IMAGE_TAG: latest
REGISTRY_IMAGE: ${{ secrets.DOCKERHUB_USERNAME }}/${{ vars.IMAGE_NAME }}

jobs:
Expand Down Expand Up @@ -53,8 +52,8 @@ jobs:
platforms: ${{ matrix.platform }}
labels: ${{ steps.meta.outputs.labels }}
outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true
cache-from: type=registry,ref=${{ env.REGISTRY_IMAGE }}:$BUILD_CACHE-${{ matrix.platform }}
cache-to: type=registry,ref=${{ env.REGISTRY_IMAGE }}:$BUILD_CACHE-${{ matrix.platform }},mode=max
cache-from: type=registry,ref=${{ env.REGISTRY_IMAGE }}:${{ env.BUILD_CACHE }}-${{ matrix.platform }}
cache-to: type=registry,ref=${{ env.REGISTRY_IMAGE }}:${{ env.BUILD_CACHE }}-${{ matrix.platform }},mode=max

- name: Export digest
run: |
Expand Down

0 comments on commit 59e27ae

Please sign in to comment.