mirror of
https://github.com/zkldi/Tachi.git
synced 2026-09-30 02:48:01 +03:00
rebel shell
This commit is contained in:
@@ -121,12 +121,17 @@ jobs:
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 # v3.7.1
|
||||
|
||||
- name: Read server package version
|
||||
id: server_version
|
||||
run: |
|
||||
echo "version=$(jq -r .version typescript/server/package.json)" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- name: Build and push unified server image
|
||||
uses: docker/build-push-action@48aba3b46d1b1fec4febb7c5d0c644b249a11355 # v6.10.0
|
||||
with:
|
||||
context: .
|
||||
file: docker/Dockerfile.server
|
||||
target: prod-unified
|
||||
target: prod
|
||||
push: ${{ github.ref == 'refs/heads/main' }}
|
||||
provenance: true
|
||||
sbom: true
|
||||
@@ -135,6 +140,7 @@ jobs:
|
||||
ghcr.io/zkldi/tachi:main
|
||||
ghcr.io/zkldi/tachi:latest
|
||||
build-args: |
|
||||
VERSION=${{ steps.server_version.outputs.version }}
|
||||
COMMIT_HASH=${{ github.sha }}
|
||||
cache-from: type=gha,scope=server-${{ github.ref_name }}
|
||||
cache-to: type=gha,mode=max,scope=server-${{ github.ref_name }}
|
||||
|
||||
Reference in New Issue
Block a user