From 34799182efe363ad503f9eff9a32a7f563738639 Mon Sep 17 00:00:00 2001 From: Krzysztof Ostrowski Date: Fri, 30 Aug 2024 16:53:11 +0200 Subject: [PATCH] .github/workflows: fix mixed indent --- .github/workflows/build.yml | 41 +++++++++++++++++-------------------- 1 file changed, 19 insertions(+), 22 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 08d65b4a6..028e33574 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,12 +1,9 @@ name: Go - on: [push, pull_request] - env: QUAY_PATH: quay.io/brancz/kube-rbac-proxy go-version: '1.23' kind-version: 'v0.24.0' - jobs: check-license: runs-on: ubuntu-latest @@ -83,23 +80,23 @@ jobs: name: Publish container image to Quay if: github.event_name == 'push' needs: - - check-license - - generate - - build - - unit-tests - - e2e-tests + - check-license + - generate + - build + - unit-tests + - e2e-tests steps: - - name: Checkout - uses: actions/checkout@v2 - - name: Setup golang for building - uses: actions/setup-go@v2 - with: - go-version: ${{ env.go-version }} - - name: Login to Quay.io - uses: docker/login-action@v1 - with: - registry: quay.io - username: ${{ secrets.QUAY_USERNAME }} - password: ${{ secrets.QUAY_PASSWORD }} - - name: Build images and push - run: ./scripts/publish.sh + - name: Checkout + uses: actions/checkout@v2 + - name: Setup golang for building + uses: actions/setup-go@v2 + with: + go-version: ${{ env.go-version }} + - name: Login to Quay.io + uses: docker/login-action@v1 + with: + registry: quay.io + username: ${{ secrets.QUAY_USERNAME }} + password: ${{ secrets.QUAY_PASSWORD }} + - name: Build images and push + run: ./scripts/publish.sh