diff --git a/.github/workflows/on-push-lint-charts.yml b/.github/workflows/on-push-lint-charts.yml index 486dbb0a..9f089d81 100644 --- a/.github/workflows/on-push-lint-charts.yml +++ b/.github/workflows/on-push-lint-charts.yml @@ -15,6 +15,7 @@ env: jobs: lint-test: runs-on: ubuntu-latest + name: Lint Chart steps: - name: Checkout uses: actions/checkout@v2 diff --git a/.github/workflows/on-push-master-publish-chart.yml b/.github/workflows/on-push-master-publish-chart.yml index 277a52d3..ade34161 100644 --- a/.github/workflows/on-push-master-publish-chart.yml +++ b/.github/workflows/on-push-master-publish-chart.yml @@ -18,6 +18,9 @@ env: jobs: lint-chart: runs-on: ubuntu-latest + name: Lint Chart + outputs: + publish-chart: ${{ steps.publish-chart-step.outputs.publish }} steps: - name: Checkout uses: actions/checkout@v2 @@ -81,7 +84,7 @@ jobs: # WARNING: This relies on the latest release being inat the top of the JSON from GitHub and a clean chart.yaml - name: Check if Chart Publish is Needed - id: publish-chart + id: publish-chart-step run: | CHART_TEXT=$(curl -fs https://raw.githubusercontent.com/actions-runner-controller/actions-runner-controller/master/charts/actions-runner-controller/Chart.yaml) NEW_CHART_VERSION=$(echo "$CHART_TEXT" | grep version: | cut -d ' ' -f 2) @@ -94,9 +97,10 @@ jobs: fi publish-chart: - if: steps.publish-chart.outputs.publish == 'true' - runs-on: ubuntu-latest + if: needs.lint-chart.outputs.publish-chart == 'true' needs: lint-chart + runs-on: ubuntu-latest + name: Publish Chart steps: - name: Checkout diff --git a/.github/workflows/wip.yml b/.github/workflows/wip.yml index 613bdcf6..a5393d9b 100644 --- a/.github/workflows/wip.yml +++ b/.github/workflows/wip.yml @@ -17,7 +17,7 @@ on: jobs: build: runs-on: ubuntu-latest - name: release-latest + name: Build and Publish Canary Image env: DOCKERHUB_USERNAME: ${{ secrets.DOCKER_USER }} steps: