Skip to content

Commit d7c962a

Browse files
committed
fix CI
1 parent 54ef9ea commit d7c962a

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/container.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,15 @@ jobs:
5858
with:
5959
username: ${{ secrets.DOCKERHUB_USERNAME }}
6060
password: ${{ secrets.DOCKERHUB_TOKEN }}
61+
- name: Set up Go modules cache
62+
uses: actions/cache@v3
63+
with:
64+
path: |
65+
~/.cache/go-build
66+
~/go/pkg/mod
67+
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
68+
restore-keys: |
69+
${{ runner.os }}-go-
6170
- name: Build and push Container image
6271
uses: docker/build-push-action@v6
6372
with:

0 commit comments

Comments
 (0)