Skip to content

Commit e5ab399

Browse files
committed
fix: use environment to pass params
1 parent 6e3efa1 commit e5ab399

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/container-test.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,10 @@ jobs:
4949
path: /tmp/.buildx-cache/linux/amd64
5050
- name: Adjust bleeding edge image
5151
if: inputs.variant == 'bleeding'
52-
run: .github/bin/bleeding ${{inputs.weblate_sha}} ${{inputs.weblate_date}}
52+
run: .github/bin/bleeding "$WEBLATE_SHA" "$WEBLATE_DATE"
53+
env:
54+
WEBLATE_SHA: ${{ inputs.weblate_sha }}
55+
WEBLATE_DATE: ${{ inputs.weblate_date }}
5356
- name: Build the Docker image
5457
run: .github/bin/docker-build load
5558
- name: List Docker images
@@ -101,7 +104,9 @@ jobs:
101104
run: ./test-admin
102105
- name: Verify SAML certificate
103106
working-directory: docker-compose
104-
run: ./test-saml ${{ inputs.test }}
107+
run: ./test-saml "$WEBLATE_TEST"
108+
env:
109+
WEBLATE_TEST: ${{ inputs.test }}
105110
- name: Test commands
106111
working-directory: docker-compose
107112
run: ./test-commands

0 commit comments

Comments
 (0)