Skip to content

Commit

Permalink
test metrix
Browse files Browse the repository at this point in the history
  • Loading branch information
daya0576 committed Dec 8, 2024
1 parent c54e7eb commit 7c9ad74
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# https://docs.docker.com/build/ci/github-actions/multi-platform/

name: Publish Release

on:
Expand All @@ -18,9 +20,9 @@ jobs:
matrix:
platform: [linux/amd64, linux/amd64/v3, linux/arm64]
dockerfile: [Dockerfile]
include:
- platform: linux/arm/v7
dockerfile: Dockerfile.nobuildkit.arm32
# include:
# - platform: linux/arm/v7
# dockerfile: Dockerfile.nobuildkit.arm32

steps:
- name: Prepare
Expand Down Expand Up @@ -59,8 +61,9 @@ jobs:
file: ${{ matrix.dockerfile }}
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 }}:latest
cache-to: type=inline,mode=min
cache-from: type=registry,ref=${{ env.REGISTRY_IMAGE }}:buildcache
cache-to: type=registry,ref=${{ env.REGISTRY_IMAGE }}:buildcache,mode=max


- name: Export digest
run: |
Expand Down

0 comments on commit 7c9ad74

Please sign in to comment.