cleanup empty lines
Signed-off-by: cpanato <ctadeu@gmail.com>
This commit is contained in:
parent
4ae3247f64
commit
c3234e7013
4 changed files with 9 additions and 12 deletions
2
.github/actions/mkdocs/Dockerfile
vendored
2
.github/actions/mkdocs/Dockerfile
vendored
|
@ -1,4 +1,4 @@
|
||||||
FROM squidfunk/mkdocs-material:9.4.5
|
FROM squidfunk/mkdocs-material:9.4.5
|
||||||
|
|
||||||
COPY action.sh /action.sh
|
COPY action.sh /action.sh
|
||||||
|
|
||||||
|
|
12
.github/workflows/ci.yaml
vendored
12
.github/workflows/ci.yaml
vendored
|
@ -78,10 +78,10 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- name: Get go version
|
- name: Get go version
|
||||||
run: echo "GOLANG_VERSION=$(cat GOLANG_VERSION)" >> $GITHUB_ENV
|
run: echo "GOLANG_VERSION=$(cat GOLANG_VERSION)" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Set up Go
|
- name: Set up Go
|
||||||
id: go
|
id: go
|
||||||
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
|
uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0
|
||||||
|
@ -100,13 +100,13 @@ jobs:
|
||||||
golangversion: ${{ steps.golangversion.outputs.version }}
|
golangversion: ${{ steps.golangversion.outputs.version }}
|
||||||
if: |
|
if: |
|
||||||
(needs.changes.outputs.go == 'true') || (needs.changes.outputs.charts == 'true') || (needs.changes.outputs.baseimage == 'true')
|
(needs.changes.outputs.go == 'true') || (needs.changes.outputs.charts == 'true') || (needs.changes.outputs.baseimage == 'true')
|
||||||
|
|
||||||
env:
|
env:
|
||||||
PLATFORMS: linux/amd64
|
PLATFORMS: linux/amd64
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||||
|
|
||||||
- name: Get go version
|
- name: Get go version
|
||||||
id: golangversion
|
id: golangversion
|
||||||
run: |
|
run: |
|
||||||
|
@ -136,14 +136,14 @@ jobs:
|
||||||
curl -LO https://dl.k8s.io/release/v1.27.3/bin/linux/amd64/kubectl
|
curl -LO https://dl.k8s.io/release/v1.27.3/bin/linux/amd64/kubectl
|
||||||
chmod +x ./kubectl
|
chmod +x ./kubectl
|
||||||
sudo mv ./kubectl /usr/local/bin/kubectl
|
sudo mv ./kubectl /usr/local/bin/kubectl
|
||||||
|
|
||||||
- name: Build NGINX Base image
|
- name: Build NGINX Base image
|
||||||
if: |
|
if: |
|
||||||
needs.changes.outputs.baseimage == 'true'
|
needs.changes.outputs.baseimage == 'true'
|
||||||
run: |
|
run: |
|
||||||
export TAG=$(cat images/nginx-1.25/TAG)
|
export TAG=$(cat images/nginx-1.25/TAG)
|
||||||
cd images/nginx-1.25/rootfs && docker buildx build --platform=${{ env.PLATFORMS }} --load -t registry.k8s.io/ingress-nginx/nginx-1.25:${TAG} .
|
cd images/nginx-1.25/rootfs && docker buildx build --platform=${{ env.PLATFORMS }} --load -t registry.k8s.io/ingress-nginx/nginx-1.25:${TAG} .
|
||||||
|
|
||||||
- name: Build images
|
- name: Build images
|
||||||
env:
|
env:
|
||||||
TAG: 1.0.0-dev
|
TAG: 1.0.0-dev
|
||||||
|
|
5
.github/workflows/images.yaml
vendored
5
.github/workflows/images.yaml
vendored
|
@ -69,7 +69,7 @@ jobs:
|
||||||
- 'images/opentelemetry/**'
|
- 'images/opentelemetry/**'
|
||||||
nginx125:
|
nginx125:
|
||||||
- 'images/nginx-1.25/TAG'
|
- 'images/nginx-1.25/TAG'
|
||||||
|
|
||||||
#### TODO: Make the below jobs 'less dumb' and use the job name as parameter (the github.job context does not work here)
|
#### TODO: Make the below jobs 'less dumb' and use the job name as parameter (the github.job context does not work here)
|
||||||
cfssl:
|
cfssl:
|
||||||
needs: changes
|
needs: changes
|
||||||
|
@ -89,7 +89,6 @@ jobs:
|
||||||
name: custom-error-pages
|
name: custom-error-pages
|
||||||
secrets: inherit
|
secrets: inherit
|
||||||
|
|
||||||
|
|
||||||
e2e-test-echo:
|
e2e-test-echo:
|
||||||
needs: changes
|
needs: changes
|
||||||
if: |
|
if: |
|
||||||
|
@ -214,5 +213,3 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
export TAG=$(cat images/nginx-1.25/TAG)
|
export TAG=$(cat images/nginx-1.25/TAG)
|
||||||
cd images/nginx-1.25/rootfs && docker buildx build --platform=${{ env.PLATFORMS }} --push -t ingressnginx/nginx-1.25:${TAG} .
|
cd images/nginx-1.25/rootfs && docker buildx build --platform=${{ env.PLATFORMS }} --push -t ingressnginx/nginx-1.25:${TAG} .
|
||||||
|
|
||||||
|
|
||||||
|
|
2
.github/workflows/plugin.yaml
vendored
2
.github/workflows/plugin.yaml
vendored
|
@ -33,7 +33,7 @@ jobs:
|
||||||
args: release --snapshot --clean
|
args: release --snapshot --clean
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
- name: Run GoReleaser
|
- name: Run GoReleaser
|
||||||
if: ${{ startsWith(github.ref, 'refs/tags/') }}
|
if: ${{ startsWith(github.ref, 'refs/tags/') }}
|
||||||
uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5.0.0
|
uses: goreleaser/goreleaser-action@7ec5c2b0c6cdda6e8bbb49444bc797dd33d74dd8 # v5.0.0
|
||||||
|
|
Loading…
Reference in a new issue