diff --git a/.github/workflows/docker-image-socket-proxy.yml b/.github/workflows/docker-image-socket-proxy.yml index 109fe9b..76ded88 100644 --- a/.github/workflows/docker-image-socket-proxy.yml +++ b/.github/workflows/docker-image-socket-proxy.yml @@ -2,8 +2,16 @@ name: Docker Image CI (socket-proxy) on: push: + branches: + - main paths: - "socket-proxy/**" + tags-ignore: + - '**' + workflow_dispatch: + +permissions: + contents: read jobs: build: diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index 56c5cdf..7d04990 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -84,10 +84,10 @@ jobs: outputs: type=image,name=${{ env.REGISTRY }}/${{ inputs.image_name }},push-by-digest=true,name-canonical=true,push=true cache-from: | type=registry,ref=${{ env.REGISTRY }}/${{ inputs.image_name }}:buildcache-${{ env.PLATFORM_PAIR }} - type=gha,scope=${{ github.workflow }} + type=gha,scope=${{ github.workflow }}-${{ env.PLATFORM_PAIR }} cache-to: | type=registry,ref=${{ env.REGISTRY }}/${{ inputs.image_name }}:buildcache-${{ env.PLATFORM_PAIR }},mode=max - type=gha,scope=${{ github.workflow }},mode=max + type=gha,scope=${{ github.workflow }}-${{ env.PLATFORM_PAIR }},mode=max build-args: | VERSION=${{ github.ref_name }} MAKE_ARGS=${{ env.MAKE_ARGS }}