diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index c9a66a1..0000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: Prepare Release - -on: - push: - branches: - - "release/v[012].[0-9]+.[0-9]+" - -env: - REGISTRY: ghcr.io - INSTALLER_IMAGE_NAME: ${{ github.repository }}-installer - MANAGER_IMAGE_NAME: ${{ github.repository }}-manager - -jobs: - update-manifests: - name: Update Manifests - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v4 - - - name: Split branch name - env: - BRANCH: ${{ github.ref_name }} - id: split - run: echo "::set-output name=fragment::${BRANCH##*/}" - - - name: Update Deployment Image Tags - working-directory: "config/production" - run: | - kustomize edit set image installer=${{ env.REGISTRY }}/${{ env.INSTALLER_IMAGE_NAME }}:${{ steps.split.outputs.fragment }} - kustomize edit set image manager=${{ env.REGISTRY }}/${{ env.MANAGER_IMAGE_NAME }}:${{ steps.split.outputs.fragment }} - - - name: Create Pull Request - uses: peter-evans/create-pull-request@v6 - with: - commit-message: "chore: update image versions" - title: "Update image versions" - base: main - branch: ${{ steps.split.outputs.fragment }} diff --git a/config/production/kustomization.yaml b/config/production/kustomization.yaml index ac35a84..070cd39 100644 --- a/config/production/kustomization.yaml +++ b/config/production/kustomization.yaml @@ -10,10 +10,10 @@ components: images: - name: installer newName: ghcr.io/ctrox/zeropod-installer - newTag: v0.8.0 + newTag: v0.9.0 - name: manager newName: ghcr.io/ctrox/zeropod-manager - newTag: v0.8.0 + newTag: v0.9.0 patches: - patch: |- - op: add