fix(ci): copy builtin dir in Dockerfile.minimal and disable auto latest tag
This commit is contained in:
@@ -49,6 +49,8 @@ jobs:
|
||||
with:
|
||||
images: |
|
||||
${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}
|
||||
flavor: |
|
||||
latest=false
|
||||
tags: |
|
||||
type=raw,value=latest-amd64${{ matrix.tag_suffix }},enable={{is_default_branch}}
|
||||
type=ref,event=branch,suffix=-amd64${{ matrix.tag_suffix }}
|
||||
|
||||
@@ -53,6 +53,8 @@ jobs:
|
||||
with:
|
||||
images: |
|
||||
${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}
|
||||
flavor: |
|
||||
latest=false
|
||||
tags: |
|
||||
type=semver,pattern={{version}}-amd64${{ matrix.tag_suffix }}
|
||||
type=raw,value=latest-amd64${{ matrix.tag_suffix }},enable={{is_default_branch}}
|
||||
|
||||
@@ -56,6 +56,8 @@ jobs:
|
||||
with:
|
||||
images: |
|
||||
${{ env.REGISTRY }}/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}
|
||||
flavor: |
|
||||
latest=false
|
||||
tags: |
|
||||
type=semver,pattern={{version}}-arm64${{ matrix.tag_suffix }}
|
||||
type=raw,value=latest-arm64${{ matrix.tag_suffix }},enable={{is_default_branch}}
|
||||
|
||||
@@ -126,6 +126,7 @@ COPY --from=frontend-builder /app/web/dist /www/baihu
|
||||
# Copy configs and entrypoint
|
||||
COPY --from=backend-builder /app/configs ./configs
|
||||
COPY --from=backend-builder /app/example ./example
|
||||
COPY builtin/ /www/builtin
|
||||
COPY docker/docker-entrypoint.minimal.sh ./docker-entrypoint.sh
|
||||
|
||||
# Copy agent binaries
|
||||
|
||||
Reference in New Issue
Block a user