Skip to content

Commit 92eff25

Browse files
Copilotilaflott
andcommitted
Add OUTSIDE_DOCKER env var to skip papiex Docker build with hardcoded -it
Co-authored-by: ilaflott <[email protected]>
1 parent 36a4dff commit 92eff25

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/docker_build_test.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
env:
2222
# Override docker run options to be non-interactive for CI (remove -it flag)
2323
DOCKER_RUN_OPTS: "--rm"
24+
# Use OUTSIDE_DOCKER to skip papiex docker build (papiex Makefile has hardcoded -it flags)
25+
OUTSIDE_DOCKER: "YUP"
2426

2527
steps:
2628
- uses: actions/checkout@v4
@@ -35,10 +37,10 @@ jobs:
3537
run: make OS_TARGET=rocky-8 epmt-dash
3638

3739
- name: Build papiex-dist
38-
run: make OS_TARGET=rocky-8 DOCKER_RUN_OPTS="${DOCKER_RUN_OPTS}" papiex-dist
40+
run: make OS_TARGET=rocky-8 papiex-dist
3941

4042
- name: Build docker-dist
41-
run: make OS_TARGET=rocky-8 DOCKER_RUN_OPTS="${DOCKER_RUN_OPTS}" docker-dist
43+
run: make OS_TARGET=rocky-8 docker-dist
4244

4345
- name: Build epmt-full-release
4446
run: make OS_TARGET=rocky-8 epmt-full-release
@@ -47,4 +49,4 @@ jobs:
4749
run: make OS_TARGET=rocky-8 build-check-release
4850

4951
- name: Run check-release tests
50-
run: make OS_TARGET=rocky-8 DOCKER_RUN_OPTS="${DOCKER_RUN_OPTS}" check-release
52+
run: make OS_TARGET=rocky-8 check-release

0 commit comments

Comments
 (0)