mirror of
https://github.com/remsky/Kokoro-FastAPI.git
synced 2025-04-13 09:39:17 +00:00
Update build-push.yml
This commit is contained in:
parent
ca1fcffa4b
commit
8d1013c29a
1 changed files with 4 additions and 4 deletions
8
.github/workflows/build-push.yml
vendored
8
.github/workflows/build-push.yml
vendored
|
@ -1,4 +1,4 @@
|
||||||
name: Docker Build and Publish
|
name: Docker Build and push
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
@ -45,7 +45,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
DOCKER_BUILDKIT: 1
|
DOCKER_BUILDKIT: 1
|
||||||
BUILDKIT_STEP_LOG_MAX_SIZE: 10485760
|
BUILDKIT_STEP_LOG_MAX_SIZE: 10485760
|
||||||
# The version from the prepare-release job will override the VERSION variable
|
# This environment variable will override the VERSION variable in your HCL file.
|
||||||
VERSION: ${{ needs.prepare-release.outputs.version }}
|
VERSION: ${{ needs.prepare-release.outputs.version }}
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
|
@ -83,5 +83,5 @@ jobs:
|
||||||
|
|
||||||
- name: Build and push images
|
- name: Build and push images
|
||||||
run: |
|
run: |
|
||||||
# Override the VERSION variable in your bake file with the provided version.
|
# No need to override VERSION via --set; the env var does the job.
|
||||||
docker buildx bake --push --set VERSION=$VERSION
|
docker buildx bake --push
|
Loading…
Add table
Reference in a new issue