diff --git a/.github/workflows/workflow-docker-manual.yml b/.github/workflows/workflow-docker-manual.yml index b57aa71..48d71ce 100644 --- a/.github/workflows/workflow-docker-manual.yml +++ b/.github/workflows/workflow-docker-manual.yml @@ -57,9 +57,10 @@ jobs: run: | git_clone_scripts_dest="/tmp/scripts" git_clone_scripts_repo="https://github.com/binhex/scripts.git" + container_port="8000" git clone "${git_clone_scripts_repo}" "${git_clone_scripts_dest}" - "${git_clone_scripts_dest}/shell/arch/docker/testrunner.sh" --image-name "ghcr.io/${{ github.repository }}:${{ steps.generate_temporary_tag_name.outputs.test_tag }}" --container-ports '-p 9999:8000' --network-type 'bridge' --protocol 'https' + "${git_clone_scripts_dest}/shell/arch/docker/testrunner.sh" --image-name "ghcr.io/${{ github.repository }}:${{ steps.generate_temporary_tag_name.outputs.test_tag }}" --container-ports "-p 9999:${container_port}" --network-type 'bridge' --protocol 'https' - name: Push Docker image to Docker Hub uses: nick-invision/retry@v2.4.0 with: diff --git a/.github/workflows/workflow-docker-release.yml b/.github/workflows/workflow-docker-release.yml index 10d299b..c4d1d5a 100644 --- a/.github/workflows/workflow-docker-release.yml +++ b/.github/workflows/workflow-docker-release.yml @@ -85,9 +85,10 @@ jobs: run: | git_clone_scripts_dest="/tmp/scripts" git_clone_scripts_repo="https://github.com/binhex/scripts.git" + container_port="8000" git clone "${git_clone_scripts_repo}" "${git_clone_scripts_dest}" - "${git_clone_scripts_dest}/shell/arch/docker/testrunner.sh" --image-name "ghcr.io/${{ github.repository }}:${{ steps.generate_temporary_tag_name.outputs.test_tag }}" --container-ports '-p 9999:8000' --network-type 'bridge' --protocol 'https' + "${git_clone_scripts_dest}/shell/arch/docker/testrunner.sh" --image-name "ghcr.io/${{ github.repository }}:${{ steps.generate_temporary_tag_name.outputs.test_tag }}" --container-ports "-p 9999:${container_port}" --network-type 'bridge' --protocol 'https' - name: Push Docker image to Docker Hub uses: nick-invision/retry@v2.4.0 with: