Skip to content

Commit

Permalink
Remove unused actions for Docker build cache
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mizutani committed Jan 19, 2025
1 parent 38811a4 commit 749ae19
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,6 @@ jobs:
- name: checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1

- name: Go Build Cache for Docker
uses: actions/cache@v4
with:
path: go-build-cache
key: ${{ runner.os }}-go-build-cache-${{ hashFiles('go.sum') }}

- name: inject go-build-cache into docker
# v1 was composed of two actions: "inject" and "extract".
# v2 is unified to a single action.
uses: reproducible-containers/[email protected]
with:
cache-source: go-build-cache

- name: Set up Docker buildx
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0
- name: Login to GitHub Container Registry
Expand Down Expand Up @@ -78,6 +65,7 @@ jobs:
release-ghcr:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
packages: write
needs: build
Expand Down

0 comments on commit 749ae19

Please sign in to comment.