From f3600add91b4e4583b9796a12cb80b3a14fa455b Mon Sep 17 00:00:00 2001 From: ypoplavs <45286051+ypoplavs@users.noreply.github.com> Date: Wed, 4 Oct 2023 11:10:16 +0300 Subject: [PATCH] ci: fix goreleaser build (#4429) * Turn off cache for api --- .github/workflows/docker-build-develop.yaml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/docker-build-develop.yaml b/.github/workflows/docker-build-develop.yaml index 8a0316c21c5..fe9d6facdfa 100644 --- a/.github/workflows/docker-build-develop.yaml +++ b/.github/workflows/docker-build-develop.yaml @@ -22,15 +22,18 @@ jobs: id: buildx uses: docker/setup-buildx-action@v1 - - name: Go Cache - uses: actions/cache@v2 + # - name: Go Cache + # uses: actions/cache@v2 + # with: + # path: | + # ~/go/pkg/mod + # ~/.cache/go-build + # key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} + # restore-keys: | + # ${{ runner.os }}-go- + - uses: actions/setup-go@v4 with: - path: | - ~/go/pkg/mod - ~/.cache/go-build - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- + go-version: '1.21.0' - name: Login to DockerHub uses: docker/login-action@v1