Skip to content

Commit

Permalink
ci: give up on docker image caching
Browse files Browse the repository at this point in the history
  • Loading branch information
mickamy committed Jan 4, 2024
1 parent 786e27b commit e77977e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,7 @@ jobs:
- run: |
sed -i 's/ishocon2-app-base/${{ env.UNAME }}\/ishocon2-app-base/g' ./docker-compose.yml
cat ./docker-compose.yml
- run: make build-base build-bench
- uses: docker/setup-buildx-action@v3
- uses: docker/build-push-action@v5.1.0
with:
context: .
file: ./docker/app/${{ env.ISHOCON_APP_LANG }}/Dockerfile
cache-from: type=gha
cache-to: type=gha,mode=max
tags: ${{ github.actor }}/ishocon2-app-${{ env.ISHOCON_APP_LANG }}:latest
- run: make build
timeout-minutes: 5
- run: make up bench-with-db-init
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ build-app: check-lang build-base
-t ishocon2-app-$(ISHOCON_APP_LANG):latest \
-t $(UNAME)/ishocon2-app-$(ISHOCON_APP_LANG):latest .;

build:
build: build-bench build-app
docker compose -f ./docker-compose.yml build;

up:
Expand Down

0 comments on commit e77977e

Please sign in to comment.