Skip to content

Commit df32b19

Browse files
committed
Use variables
1 parent 2a63b39 commit df32b19

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/developer_ci.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,22 @@ env:
1212
QA_TIMEOUT_PER_TEST: 150
1313
# The commit of the PR to embed it in the build tag
1414
RADIOSS_SHA_HEADER: ${{ github.event.pull_request.head.sha }}
15-
15+
DOCKER_REGISTRY: ${{ secrets.DOCKER_REGISTRY }}
16+
DOCKER_REGISTRY_USER: ${{ secrets.DOCKER_REGISTRY_USER }}
17+
DOCKER_REGISTRY_PASSWD: ${{ secrets.DOCKER_REGISTRY_PASSWD }}
1618
jobs:
1719

1820
# This job is a guard to avoid running CI if workflows files are changed (even if they are not the only ones)
1921
guard:
2022
# runs-on: developer_ci
2123
runs-on: ["dev_pmci","fr-shady"]
24+
env:
25+
DOCKER_REGISTRY: ${{ secrets.DOCKER_REGISTRY }}
2226
container:
23-
image: "${{ secrets.DOCKER_REGISTRY }}/common-linux64"
27+
image: "${DOCKER_REGISTRY}/common-linux64"
2428
credentials:
25-
username: ${{ secrets.DOCKER_REGISTRY_USER }}
26-
password: ${{ secrets.DOCKER_REGISTRY_PASSWD }}
29+
username: ${DOCKER_REGISTRY_USER}
30+
password: ${DOCKER_REGISTRY_PASSWD}
2731

2832
steps:
2933
- run: echo "Salut !!"

0 commit comments

Comments
 (0)