Skip to content

Commit

Permalink
use actor
Browse files Browse the repository at this point in the history
  • Loading branch information
youtalk committed May 14, 2024
1 parent 9a75740 commit 190e3e8
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
id: meta
uses: docker/metadata-action@v4
with:
images: ghcr.io/${{ github.repository_owner }}/${{ github.repository }}
images: ghcr.io/${{ github.actor }}/${{ github.repository }}

- name: Build and push with Buildx Bake
uses: docker/bake-action@v4
Expand All @@ -43,16 +43,16 @@ jobs:
docker/autoware-openadk/docker-bake.hcl
targets: default
set: |
prebuilt.cache-from=type=registry,ref=ghcr.io/${{ github.repository_owner }}/${{ github.repository }}:buildcache
prebuilt.cache-to=type=registry,ref=ghcr.io/${{ github.repository_owner }}/${{ github.repository }}:buildcache,mode=max
prebuilt.cache-from=type=registry,ref=ghcr.io/${{ github.actor }}/${{ github.repository }}:buildcache
prebuilt.cache-to=type=registry,ref=ghcr.io/${{ github.actor }}/${{ github.repository }}:buildcache,mode=max
prebuilt.tags=${{ steps.meta.outputs.tags }}
prebuilt.labels=${{ steps.meta.outputs.labels }}
devel.cache-from=type=registry,ref=ghcr.io/${{ github.repository_owner }}/${{ github.repository }}:buildcache
devel.cache-to=type=registry,ref=ghcr.io/${{ github.repository_owner }}/${{ github.repository }}:buildcache,mode=max
devel.cache-from=type=registry,ref=ghcr.io/${{ github.actor }}/${{ github.repository }}:buildcache
devel.cache-to=type=registry,ref=ghcr.io/${{ github.actor }}/${{ github.repository }}:buildcache,mode=max
devel.tags=${{ steps.meta.outputs.tags }}
devel.labels=${{ steps.meta.outputs.labels }}
runtime.cache-from=type=registry,ref=ghcr.io/${{ github.repository_owner }}/${{ github.repository }}:buildcache
runtime.cache-to=type=registry,ref=ghcr.io/${{ github.repository_owner }}/${{ github.repository }}:buildcache,mode=max
runtime.cache-from=type=registry,ref=ghcr.io/${{ github.actor }}/${{ github.repository }}:buildcache
runtime.cache-to=type=registry,ref=ghcr.io/${{ github.actor }}/${{ github.repository }}:buildcache,mode=max
runtime.tags=${{ steps.meta.outputs.tags }}
runtime.labels=${{ steps.meta.outputs.labels }}
Expand Down

0 comments on commit 190e3e8

Please sign in to comment.