feat: docker non-root uid and gid

This commit is contained in:
Jun Kurihara 2023-06-17 13:45:38 +09:00
commit fa03e7d5e7
No known key found for this signature in database
GPG key ID: 48ADFD173ED22B03
11 changed files with 184 additions and 157 deletions

View file

@ -38,7 +38,7 @@ jobs:
push: true
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:latest
file: ./docker/amd64/Dockerfile
file: ./docker/Dockerfile.amd64
- name: Release build and push x86_64-slim
if: ${{ env.BRANCH == 'main' }}
@ -48,7 +48,7 @@ jobs:
push: true
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:slim, ${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:latest-slim
file: ./docker/amd64-slim/Dockerfile
file: ./docker/Dockerfile.amd64-slim
- name: Nightly build and push x86_64
if: ${{ env.BRANCH == 'develop' }}
@ -58,4 +58,4 @@ jobs:
push: true
tags: |
${{ secrets.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}:nightly
file: ./docker/amd64/Dockerfile
file: ./docker/Dockerfile.amd64