merged: flux-*.yaml -> fluxcd-iamges.yaml

This commit is contained in:
Haitao Pan 2023-03-09 17:18:07 +08:00
parent d0bb0de9d4
commit 24ec78cd5e
16 changed files with 136 additions and 196 deletions

View File

@ -1,28 +0,0 @@
name: Build & push flux-cli image
on:
pull_request:
push:
paths:
- 'oci/fluxcd/flux-cli.Dockerfile'
- '.github/workflows/fluxcd/flux-cli-image.yaml'
branches:
- main
jobs:
docker:
name: Build docker image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: 'Artifact: build && push fluxcd/flux-cli image'
uses: aevea/action-kaniko@master
with:
registry: artifact.onwalk.net
username: admin
password: ${{ secrets.HELM_REPO_PASSWORD }}
build_file: oci/fluxcd/flux-cli.Dockerfile
image: public/fluxcd/flux-cli
tag: v0.31.3
cache: true
cache_registry: cache

View File

@ -1,28 +0,0 @@
name: Build & push flux-helm-controller image
on:
pull_request:
push:
paths:
- 'oci/fluxcd/flux-helm-controller.Dockerfile'
- '.github/workflows/flux-helm-controller-image.yaml'
branches:
- main
jobs:
docker:
runs-on: ubuntu-latest
name: Build docker image
steps:
- uses: actions/checkout@master
- name: 'Artifact: build && push fluxcd/helm-controller image'
uses: aevea/action-kaniko@master
with:
registry: artifact.onwalk.net
username: admin
password: ${{ secrets.HELM_REPO_PASSWORD }}
build_file: oci/fluxcd/flux-helm-controller.Dockerfile
image: public/fluxcd/helm-controller
tag: v0.22.1
cache: true
cache_registry: cache

View File

@ -1,28 +0,0 @@
name: Build & push flux-automation-controller image
on:
pull_request:
push:
paths:
- 'fluxcd/flux-image-automation-controller.Dockerfile'
- '.github/workflows/fluxcd/flux-image-automation-controller.yaml'
branches:
- main
jobs:
docker:
runs-on: ubuntu-latest
name: Build docker image
steps:
- uses: actions/checkout@master
- name: 'Artifact: build && push fluxcd/image-automation-controller image'
uses: aevea/action-kaniko@v0.10.0
with:
registry: artifact.onwalk.net
username: admin
password: ${{ secrets.HELM_REPO_PASSWORD }}
build_file: oci/fluxcd/flux-image-automation-controller.Dockerfile
image: public/fluxcd/image-automation-controller
tag: v0.23.4
cache: true
cache_registry: cache

View File

@ -1,28 +0,0 @@
name: Build & push image-reflector-controller image
on:
pull_request:
push:
paths:
- 'fluxcd/flux-image-reflector-controller.Dockerfile'
- '.github/workflows/fluxcd/flux-image-reflector-controller.yaml'
branches:
- main
jobs:
docker:
runs-on: ubuntu-latest
name: Build docker image
steps:
- uses: actions/checkout@master
- name: 'Artifact: build && push fluxcd/image-reflector-controller image'
uses: aevea/action-kaniko@v0.10.0
with:
registry: artifact.onwalk.net
username: admin
password: ${{ secrets.HELM_REPO_PASSWORD }}
build_file: oci/fluxcd/flux-image-reflector-controller.Dockerfile
image: public/fluxcd/image-reflector-controller
tag: v0.19.2
cache: true
cache_registry: cache

View File

@ -1,28 +0,0 @@
name: Build & push flux-kustomize-controller image
on:
pull_request:
push:
paths:
- 'fluxcd/flux-kustomize-controller.Dockerfile'
- '.github/workflows/fluxcd/flux-kustomize-controller-image.yaml'
branches:
- main
jobs:
docker:
runs-on: ubuntu-latest
name: Build docker image
steps:
- uses: actions/checkout@master
- name: 'Artifact: build && push fluxcd/kustomize-controller image'
uses: aevea/action-kaniko@v0.10.0
with:
registry: artifact.onwalk.net
username: admin
password: ${{ secrets.HELM_REPO_PASSWORD }}
build_file: oci/fluxcd/flux-kustomize-controller.Dockerfile
image: public/fluxcd/kustomize-controller
tag: v0.26.2
cache: true
cache_registry: cache

View File

@ -1,28 +0,0 @@
name: Build & push notification-controller image
on:
pull_request:
push:
paths:
- '.github/workflows/fluxcd/flux-notification-controller-image.yaml'
- 'dockerfiles/flux-notification-controller.Dockerfile'
branches:
- main
jobs:
docker:
runs-on: ubuntu-latest
name: Build docker image
steps:
- uses: actions/checkout@master
- name: 'Artifact: build && push fluxcd/notification-controller image'
uses: aevea/action-kaniko@v0.10.0
with:
registry: artifact.onwalk.net
username: admin
password: ${{ secrets.HELM_REPO_PASSWORD }}
build_file: oci/fluxcd/flux-notification-controller.Dockerfile
image: public/fluxcd/notification-controller
tag: v0.24.0
cache: true
cache_registry: cache

View File

@ -1,28 +0,0 @@
name: Build & push source-controller image
on:
pull_request:
push:
paths:
- 'fluxcd/flux-source-controller.Dockerfile'
- '.github/workflows/fluxcd/flux-source-controller-image.yaml'
branches:
- main
jobs:
docker:
runs-on: ubuntu-latest
name: Build docker image
steps:
- uses: actions/checkout@master
- name: 'Artifact: build && push fluxcd/source-controller image'
uses: aevea/action-kaniko@v0.10.0
with:
registry: artifact.onwalk.net
username: admin
password: ${{ secrets.HELM_REPO_PASSWORD }}
build_file: oci/fluxcd/flux-source-controller.Dockerfile
image: public/fluxcd/source-controller
tag: v0.25.9
cache: true
cache_registry: cache

136
.github/workflows/fluxcd-iamges.yaml vendored Normal file
View File

@ -0,0 +1,136 @@
name: Build & push flux-cd images
on:
pull_request:
push:
paths:
- '.github/workflows/fluxcd/fluxcd-images.yaml'
- 'oci/fluxcd/flux-cli/Dockerfile'
- 'oci/fluxcd/flux-helm-controller/Dockerfile'
- 'oci/fluxcd/flux-image-automation-controller/Dockerfile'
- 'oci/fluxcd/flux-image-reflector-controller/Dockerfile'
- 'oci/fluxcd/flux-kustomize-controller/Dockerfile'
- 'oci/fluxcd/flux-notification-controller/Dockerfile'
- 'oci/fluxcd/flux-source-controller/Dockerfile'
branches:
- main
jobs:
flux-cli:
name: Build docker image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: 'Artifact: build && push fluxcd/flux-cli image'
uses: aevea/action-kaniko@master
with:
registry: artifact.onwalk.net
username: admin
password: ${{ secrets.HELM_REPO_PASSWORD }}
path: oci/fluxcd/flux-cli/
image: public/fluxcd/flux-cli
tag: v0.31.3
cache: true
cache_registry: cache
fluxcd-helm-controller:
runs-on: ubuntu-latest
name: Build docker image
steps:
- uses: actions/checkout@master
- name: 'Artifact: build && push fluxcd/helm-controller image'
uses: aevea/action-kaniko@master
with:
registry: artifact.onwalk.net
username: admin
password: ${{ secrets.HELM_REPO_PASSWORD }}
path: oci/fluxcd/flux-helm-controller/
image: public/fluxcd/helm-controller
tag: v0.22.1
cache: true
cache_registry: cache
fluxcd-image-automation-controller:
runs-on: ubuntu-latest
name: Build docker image
steps:
- uses: actions/checkout@master
- name: 'Artifact: build && push fluxcd/image-automation-controller image'
uses: aevea/action-kaniko@v0.10.0
with:
registry: artifact.onwalk.net
username: admin
password: ${{ secrets.HELM_REPO_PASSWORD }}
path: oci/fluxcd/flux-image-automation-controller/
image: public/fluxcd/image-automation-controller
tag: v0.23.4
cache: true
cache_registry: cache
flux-image-reflector-controller:
runs-on: ubuntu-latest
name: Build docker image
steps:
- uses: actions/checkout@master
- name: 'Artifact: build && push fluxcd/image-reflector-controller image'
uses: aevea/action-kaniko@v0.10.0
with:
registry: artifact.onwalk.net
username: admin
password: ${{ secrets.HELM_REPO_PASSWORD }}
path: oci/fluxcd/flux-image-reflector-controller/
image: public/fluxcd/image-reflector-controller
tag: v0.19.2
cache: true
cache_registry: cache
flux-kustomize-controller:
runs-on: ubuntu-latest
name: Build docker image
steps:
- uses: actions/checkout@master
- name: 'Artifact: build && push fluxcd/kustomize-controller image'
uses: aevea/action-kaniko@v0.10.0
with:
registry: artifact.onwalk.net
username: admin
password: ${{ secrets.HELM_REPO_PASSWORD }}
path: oci/fluxcd/flux-kustomize-controller/
image: public/fluxcd/kustomize-controller
tag: v0.26.2
cache: true
cache_registry: cache
flux-notification-controller:
runs-on: ubuntu-latest
name: Build docker image
steps:
- uses: actions/checkout@master
- name: 'Artifact: build && push fluxcd/notification-controller image'
uses: aevea/action-kaniko@v0.10.0
with:
registry: artifact.onwalk.net
username: admin
password: ${{ secrets.HELM_REPO_PASSWORD }}
path: oci/fluxcd/flux-notification-controller/
image: public/fluxcd/notification-controller
tag: v0.24.0
cache: true
cache_registry: cache
flux-source-controller:
runs-on: ubuntu-latest
name: Build docker image
steps:
- uses: actions/checkout@master
- name: 'Artifact: build && push fluxcd/source-controller image'
uses: aevea/action-kaniko@v0.10.0
with:
registry: artifact.onwalk.net
username: admin
password: ${{ secrets.HELM_REPO_PASSWORD }}
path: oci/fluxcd/flux-source-controller/
image: public/fluxcd/source-controller
tag: v0.25.9
cache: true
cache_registry: cache