File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,13 +25,15 @@ runs:
2525 steps :
2626 - id : uniquetag
2727 name : " Generate unique CI tag"
28+ shell : bash
2829 run : |
2930 UNIQUE=$(echo "${GITHUB_RUN_ID}_${GITHUB_RUN_ATTEMPT}" | cksum | cut -f 1 -d " ")
3031 echo "Unique ID: ${UNIQUE}"
3132 echo "unique=${UNIQUE}" >> "$GITHUB_OUTPUT"
3233
3334 - id : dockerbuild
3435 name : " Build docker container"
36+ shell : bash
3537 run : >
3638 docker build
3739 --pull
Original file line number Diff line number Diff line change 1616 steps :
1717 - id : dockerclean
1818 name : " Cleanup docker image"
19+ shell : bash
1920 run : |
2021 docker image rm -f "${{ inputs.tag }}${{ inputs.id }}"
Original file line number Diff line number Diff line change 3232 steps :
3333 - id : processenv
3434 name : Process environment variable list
35+ shell : bash
3536 env :
3637 ENV_INPUT : ${{ inputs.env }}
3738 run : |
4849
4950 - id : dockerrun
5051 name : " Run command ${{ input.command }} in ${{ input.tag }} docker container"
52+ shell : bash
5153 run : >
5254 docker run
5355 --init -t --rm
You can’t perform that action at this time.
0 commit comments