Skip to content

Commit

Permalink
ci: fix docker/build-push-action to be used to app-base and bench images
Browse files Browse the repository at this point in the history
  • Loading branch information
mickamy committed Jan 4, 2024
1 parent ef671e1 commit f107982
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,24 @@ jobs:
- uses: docker/build-push-action@v5.1.0
with:
context: .
file: ./docker/app/${{ env.ISHOCON_APP_LANG }}/Dockerfile
file: ./docker/benchmarker/Dockerfile
cache-from: type=gha
cache-to: type=gha,mode=max
tags: ${{ github.actor }}/ishocon2-app-${{ env.ISHOCON_APP_LANG }}:latest
tags: ishocon2-app-base:latest
- uses: docker/build-push-action@v5.1.0
with:
context: .
file: ./docker/benchmarker/Dockerfile
file: ./docker/app/base/Dockerfile
cache-from: type=gha
cache-to: type=gha,mode=max
tags: ${{ github.actor }}/ishocon2-app-bench:latest
tags: ishocon2-app-bench:latest
- 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

0 comments on commit f107982

Please sign in to comment.