add benchmark result and fix Dockerfile names since it does not depends on architecture

This commit is contained in:
Jun Kurihara 2023-07-24 20:08:18 +09:00
commit 7f52dce23d
No known key found for this signature in database
GPG key ID: D992B3E3DE1DED23
11 changed files with 354 additions and 19 deletions

View file

@ -30,7 +30,7 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Release build and push x86_64
- name: Release build and push
if: ${{ env.BRANCH == 'main' }}
uses: docker/build-push-action@v4
with:
@ -38,7 +38,8 @@ jobs:
push: true
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:latest
file: ./docker/Dockerfile.amd64
file: ./docker/Dockerfile
platforms: linux/amd64,linux/arm64
- name: Release build and push x86_64-slim
if: ${{ env.BRANCH == 'main' }}
@ -49,8 +50,9 @@ jobs:
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:slim, ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:latest-slim
file: ./docker/Dockerfile.amd64-slim
platforms: linux/amd64
- name: Nightly build and push x86_64
- name: Nightly build and push
if: ${{ env.BRANCH == 'develop' }}
uses: docker/build-push-action@v4
with:
@ -58,4 +60,5 @@ jobs:
push: true
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:nightly
file: ./docker/Dockerfile.amd64
file: ./docker/Dockerfile
platforms: linux/amd64,linux/arm64