Skip to content

Commit

Permalink
add option for of registry cache
Browse files Browse the repository at this point in the history
  • Loading branch information
tamago3keran committed May 3, 2024
1 parent 109af31 commit b7727e6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/docker_build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
file: ./base/Dockerfile
platforms: linux/amd64
tags: tamago3keran/dotfiles:base
cache-to: type=local
cache-to: type=local,dest=/tmp/docker-cache

- name: Build and push for dotfiles image
uses: docker/build-push-action@v3
Expand All @@ -38,7 +38,7 @@ jobs:
file: ./dotfiles/Dockerfile
platforms: linux/amd64
tags: tamago3keran/dotfiles:dotfiles
cache-from: type=local
cache-from: type=local,dest=/tmp/docker-cache

- name: Build and push for react image
uses: docker/build-push-action@v3
Expand All @@ -47,7 +47,7 @@ jobs:
file: ./react/Dockerfile
platforms: linux/amd64
tags: tamago3keran/dotfiles:react
cache-from: type=local
cache-from: type=local,dest=/tmp/docker-cache

- name: Build and push for ruby image
uses: docker/build-push-action@v3
Expand All @@ -56,7 +56,7 @@ jobs:
file: ./ruby/Dockerfile
platforms: linux/amd64
tags: tamago3keran/dotfiles:ruby
cache-from: type=local
cache-from: type=local,dest=/tmp/docker-cache

- name: Build and push for python image
uses: docker/build-push-action@v3
Expand All @@ -65,4 +65,4 @@ jobs:
file: ./python/Dockerfile
platforms: linux/amd64
tags: tamago3keran/dotfiles:python
cache-from: type=local
cache-from: type=local,dest=/tmp/docker-cache

0 comments on commit b7727e6

Please sign in to comment.