-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(ci|controller): incorrect version, namespace, and types in docs, …
…bad platforms Signed-off-by: Neko Ayaka <[email protected]>
- Loading branch information
1 parent
4868475
commit 8980dcc
Showing
8 changed files
with
126 additions
and
18 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
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,89 @@ | ||
name: Unstable Build | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
# hub_build: | ||
# name: Build for Docker Hub | ||
# runs-on: ubuntu-latest | ||
# steps: | ||
# - uses: actions/checkout@v3 | ||
|
||
# - name: Set up Docker Buildx | ||
# uses: docker/setup-buildx-action@v2 | ||
# with: | ||
# platforms: linux/amd64,linux/arm64 | ||
|
||
# - name: Sign in to Docker Hub | ||
# uses: docker/login-action@v2 | ||
# with: | ||
# username: ${{ github.repository_owner }} | ||
# password: ${{ secrets.DOCKER_ACCESS_TOKEN }} | ||
|
||
# - name: Create image tags | ||
# id: dockerinfo | ||
# run: | | ||
# echo "tagunstable=${{ github.repository_owner }}/insights-bot:unstable" >> $GITHUB_OUTPUT | ||
|
||
# - name: Build and Push | ||
# uses: docker/build-push-action@v4 | ||
# with: | ||
# context: ./ | ||
# file: ./Dockerfile | ||
# push: true | ||
# no-cache: false | ||
# tags: | | ||
# ${{ steps.dockerinfo.outputs.tagunstable }} | ||
|
||
ghcr_build: | ||
name: Build for GitHub Container Registry | ||
permissions: | ||
packages: write | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- # Add support for more platforms with QEMU (optional) | ||
# https://github.com/docker/setup-qemu-action | ||
name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
with: | ||
platforms: linux/amd64,linux/arm64 | ||
|
||
- name: Sign in to GitHub Container Registry | ||
uses: docker/login-action@v2 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.repository_owner }} | ||
password: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Create image tags | ||
id: dockerinfo | ||
run: | | ||
echo "tagunstable=ghcr.io/${{ github.repository }}:unstable" >> $GITHUB_OUTPUT | ||
- name: Build and Push | ||
uses: docker/build-push-action@v4 | ||
with: | ||
platforms: linux/amd64,linux/arm64 | ||
context: ./ | ||
file: ./Dockerfile | ||
push: true | ||
no-cache: false | ||
tags: | | ||
${{ steps.dockerinfo.outputs.tagunstable }} | ||
- name: Build installer | ||
run: | | ||
make build-installer IMG=ghcr.io/${{ github.repository }}:unstable | ||
- name: Upload installer | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: ollama-operator-installer-unstable | ||
path: dist/install.yaml | ||
|
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
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
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
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
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
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