Skip to content

Commit

Permalink
.github/workflows: fix mixed indent
Browse files Browse the repository at this point in the history
  • Loading branch information
ibihim committed Aug 30, 2024
1 parent 5fd65f0 commit 3479918
Showing 1 changed file with 19 additions and 22 deletions.
41 changes: 19 additions & 22 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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

0 comments on commit 3479918

Please sign in to comment.