You've already forked oauth2-proxy
mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2025-08-08 22:46:33 +02:00
fix(ci): testing full release cycle before release branches can be merged
This commit is contained in:
14
.github/workflows/ci.yaml
vendored
14
.github/workflows/ci.yaml
vendored
@@ -41,9 +41,16 @@ jobs:
|
||||
make lint
|
||||
|
||||
- name: Build
|
||||
if: (!startsWith(github.head_ref, 'release'))
|
||||
run: |
|
||||
make build
|
||||
|
||||
# For release testing
|
||||
- name: Build All
|
||||
if: github.base_ref == 'master' && startsWith(github.head_ref, 'release')
|
||||
run: |
|
||||
make release
|
||||
|
||||
- name: Test
|
||||
env:
|
||||
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
|
||||
@@ -64,5 +71,12 @@ jobs:
|
||||
uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Docker Build
|
||||
if: (!startsWith(github.head_ref, 'release'))
|
||||
run: |
|
||||
make docker
|
||||
|
||||
# For release testing
|
||||
- name: Docker Build All
|
||||
if: github.base_ref == 'master' && startsWith(github.head_ref, 'release')
|
||||
run: |
|
||||
make docker-all
|
||||
|
Reference in New Issue
Block a user