mirror of
https://github.com/Solratic/checksum-action.git
synced 2026-03-11 12:22:44 -05:00
- fix(Dockerfile): update ENTRYPOINT to use entrypoint.sh script
- fix(action.yaml): remove unnecessary arguments from Docker runs section - feat(entrypoint.sh): add entrypoint script for running action.py with arguments
This commit is contained in:
@@ -4,4 +4,4 @@ WORKDIR /app
|
||||
|
||||
COPY action.py /app
|
||||
|
||||
ENTRYPOINT ["python", "./action.py"]
|
||||
ENTRYPOINT ["./entrypoint.sh"]
|
||||
|
||||
@@ -16,7 +16,5 @@ runs:
|
||||
using: 'docker'
|
||||
image: 'Dockerfile'
|
||||
args:
|
||||
- '--pattern'
|
||||
- '${{ inputs.pattern }}'
|
||||
- '--suffix'
|
||||
- '${{ inputs.suffix }}'
|
||||
|
||||
3
entrypoint.sh
Executable file
3
entrypoint.sh
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
python3 action.py --pattern $1 --suffix $2
|
||||
Reference in New Issue
Block a user