This repository has been archived by the owner on Jan 31, 2024. It is now read-only.
Update validate env task #29
Workflow file for this run
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
name: Stakater validate environment cluster task Helm Chart | |
on: | |
pull_request: | |
branches: | |
- main | |
paths: | |
- 'stakater-validate-environment/**' | |
push: | |
branches: | |
- main | |
paths: | |
- 'stakater-validate-environment/**' | |
jobs: | |
next-version: | |
uses: stakater/tekton-catalog/.github/workflows/next_version.yaml@main | |
with: | |
component: stakater-validate-environment | |
pull-request: | |
uses: stakater/tekton-catalog/.github/workflows/pull_request.yaml@main | |
name: Pull Request | |
if: ${{ github.ref != 'refs/heads/main' }} | |
needs: | |
- next-version | |
secrets: | |
REGISTRY_USERNAME: ${{ github.actor }} | |
REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
CONTAINER_REGISTRY_URL: ghcr.io/stakater | |
HELM_REGISTRY_URL: oci://ghcr.io/stakater/charts | |
SUBPATH: stakater-validate-environment | |
PUSH_CONTAINER_IMAGE: ${{ needs.next-version.outputs.dockerfile_exists }} | |
PUBLISH_HEM_CHART: ${{ needs.next-version.outputs.helm_chart_exists }} | |
NEXT_VERSION: ${{ needs.next-version.outputs.version }} | |
push-and-release: | |
uses: stakater/tekton-catalog/.github/workflows/push.yaml@main | |
name: Push and Release | |
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} | |
needs: | |
- next-version | |
secrets: | |
REGISTRY_USERNAME: ${{ github.actor }} | |
REGISTRY_PASSWORD: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
CONTAINER_REGISTRY_URL: ghcr.io/stakater | |
HELM_REGISTRY_URL: oci://ghcr.io/stakater/charts | |
SUBPATH: stakater-validate-environment | |
PUSH_CONTAINER_IMAGE: ${{ needs.next-version.outputs.dockerfile_exists }} | |
PUBLISH_HEM_CHART: ${{ needs.next-version.outputs.helm_chart_exists }} | |
NEXT_VERSION: ${{ needs.next-version.outputs.version }} | |
render-and-replace: | |
uses: stakater/tekton-catalog/.github/workflows/render_task.yaml@main | |
name: Render and Replace | |
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} | |
needs: | |
- next-version | |
secrets: | |
STAKATER_GITHUB_TOKEN: ${{ secrets.STAKATER_GITHUB_TOKEN }} | |
with: | |
SUBPATH: stakater-validate-environment | |
NEXT_VERSION: ${{ needs.next-version.outputs.version }} |