Skip to content

Commit

Permalink
ingress
Browse files Browse the repository at this point in the history
  • Loading branch information
yylt committed Oct 22, 2024
1 parent c251abb commit 4c65fad
Showing 1 changed file with 18 additions and 17 deletions.
35 changes: 18 additions & 17 deletions .github/workflows/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:
default: 'release-1.9'
env:
PROJECT: ingress-nginx
BRANCH: nginx-0.49.3-es # release-1.9 or nginx-0.49.3-es, SCRIPT_VERSION must comtible
BRANCH: gmssl # release-1.9 or nginx-0.49.3-es, SCRIPT_VERSION must comtible
SCRIPT_VERSION: 0.49 #1.9 or 0.49
REGISTRY_NAME: "docker.io"
REGISTRY_USER: "${{ secrets.DOCKER_HUB_USER }}"
Expand All @@ -37,14 +37,6 @@ jobs:
username: ${{ env.REGISTRY_USER }}
password: ${{ env.REGISTRY_PASS }}

- name: Check out build code
uses: actions/checkout@v4
with:
repository: easystack/${{ env.PROJECT }}
ref: ${{ env.BRANCH }}
token: ${{ secrets.KPULL }}
path: ${{ env.PROJECT }}

- name: Setting
run: |
set -x
Expand All @@ -57,6 +49,15 @@ jobs:
echo "BRANCH is ${{ env.BRANCH }}"
echo "SCRIPT_VERSION is ${{ env.SCRIPT_VERSION }}"
- name: Check out build code
uses: actions/checkout@v4
with:
repository: easystack/${{ env.PROJECT }}
ref: ${{ env.BRANCH }}
token: ${{ secrets.KPULL }}
path: ${{ env.PROJECT }}


- name: Image Build And Push
uses: ./.github/actions/ingress
with:
Expand All @@ -77,14 +78,6 @@ jobs:
username: ${{ env.REGISTRY_USER }}
password: ${{ env.REGISTRY_PASS }}

- name: Check out build code
uses: actions/checkout@v4
with:
repository: easystack/${{ env.PROJECT }}
ref: ${{ env.BRANCH }}
token: ${{ secrets.KPULL }}
path: ${{ env.PROJECT }}

- name: Setting
run: |
set -x
Expand All @@ -97,6 +90,14 @@ jobs:
echo "BRANCH is ${{ env.BRANCH }}"
echo "SCRIPT_VERSION is ${{ env.SCRIPT_VERSION }}"
- name: Check out build code
uses: actions/checkout@v4
with:
repository: easystack/${{ env.PROJECT }}
ref: ${{ env.BRANCH }}
token: ${{ secrets.KPULL }}
path: ${{ env.PROJECT }}

- name: Image Build And Push
uses: ./.github/actions/ingress
with:
Expand Down

0 comments on commit 4c65fad

Please sign in to comment.