-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
90 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Build default-nightly | ||
on: | ||
# push: | ||
schedule: | ||
- cron: '22 12 * * *' | ||
|
||
jobs: | ||
nightly-build-and-push-default: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
name: Maximize build space | ||
uses: easimon/maximize-build-space@master | ||
with: | ||
overprovision-lvm: 'true' | ||
remove-dotnet: 'true' | ||
remove-android: 'true' | ||
- | ||
name: Set up QEMU | ||
uses: docker/setup-qemu-action@v2 | ||
- | ||
name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
- | ||
name: Login to Docker Hub | ||
uses: docker/login-action@v2 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
- | ||
name: Set build date | ||
run: echo "BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_ENV | ||
|
||
- | ||
name: Set version | ||
run: echo "VERSION_TAG=nightly" >> $GITHUB_ENV | ||
|
||
- | ||
name: Build and push - default | ||
uses: docker/build-push-action@v4 | ||
with: | ||
push: true | ||
target: default | ||
build-args: BUILD_DATE=${{ env.BUILD_DATE }},VERSION_TAG=${{ env.VERSION_TAG }} | ||
tags: atinoda/text-generation-webui:default-nightly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Build llama-cpu-nightly | ||
on: | ||
# push: | ||
schedule: | ||
- cron: '22 12 * * *' | ||
|
||
jobs: | ||
nightly-build-and-push-llama-cpu: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- | ||
name: Maximize build space | ||
uses: easimon/maximize-build-space@master | ||
with: | ||
overprovision-lvm: 'true' | ||
remove-dotnet: 'true' | ||
remove-android: 'true' | ||
- | ||
name: Set up QEMU | ||
uses: docker/setup-qemu-action@v2 | ||
- | ||
name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
- | ||
name: Login to Docker Hub | ||
uses: docker/login-action@v2 | ||
with: | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
- | ||
name: Set build date | ||
run: echo "BUILD_DATE=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" >> $GITHUB_ENV | ||
|
||
- | ||
name: Set version | ||
run: echo "VERSION_TAG=nightly" >> $GITHUB_ENV | ||
|
||
- | ||
name: Build and push - llama-cpu | ||
uses: docker/build-push-action@v4 | ||
with: | ||
push: true | ||
target: llama-cpu | ||
build-args: BUILD_DATE=${{ env.BUILD_DATE }},VERSION_TAG=${{ env.VERSION_TAG }} | ||
tags: atinoda/text-generation-webui:llama-cpu-nightly |
This file was deleted.
Oops, something went wrong.