Skip to content

Commit

Permalink
Simplified docker cache
Browse files Browse the repository at this point in the history
  • Loading branch information
cromefire committed Jul 26, 2024
1 parent fcb1815 commit 6b15056
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,14 +79,11 @@ jobs:
- name: Inject go package cache into docker
uses: reproducible-containers/buildkit-cache-dance@v3
with:
cache-source: go-package-cache
cache-target: /root/go/pkg/mod

- name: Inject go build cache into docker
uses: reproducible-containers/buildkit-cache-dance@v3
with:
cache-source: go-build-cache
cache-target: /root/.cache/go-build
cache-map: |
{
"go-package-cache": "/root/go/pkg/mod",
"go-build-cache": "/root/.cache/go-build"
}
# Login against a Docker registry except on PR
# https://github.com/docker/login-action
Expand Down

0 comments on commit 6b15056

Please sign in to comment.