-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Signed-off-by: Neko Ayaka <[email protected]>
- Loading branch information
1 parent
4868475
commit 09c6f9f
Showing
7 changed files
with
111 additions
and
15 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,83 @@ | ||
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 | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v2 | ||
with: | ||
platforms: linux/amd64,linux/arm64,linux/arm/v8,linux/arm/v7 | ||
|
||
- 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: | ||
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: operator-installer | ||
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