Is there an existing issue for this?
Current Behavior
The docker related make targets don't appear to work correctly you get
# make runner-act-workflow
source ./scripts/docker/docker.lib.sh
make: source: No such file or directory
make: *** [runner-act-workflow] Error 1
I believe the reason behind this is the docker targets have a flaw in that they use 'source' which is not POSIX compliant, its a bash built-in and not all shells support it. The POSIX compliant way is to use . (https://www.gnu.org/savannah-checkouts/gnu/bash/manual/bash.html#Bourne-Shell-Builtins)
Expected Behavior
# make runner-act workflow=cicd-1-pull-request job=commit-stage
INFO[0000] Using docker host 'unix:///var/run/docker.sock', and daemon socket 'unix:///var/run/docker.sock'
[1. CI/CD pull request/Set CI/CD metadata] 🚀 Start image=ghcr.io/catthehacker/ubuntu:full-latest
[1. CI/CD pull request/Set CI/CD metadata] 🐳 docker pull image=ghcr.io/catthehacker/ubuntu:full-latest platform=linux/amd64 username= forcePull=fa
Steps To Reproduce
make runner-act workflow=cicd-1-pull-request job=commit-stage
Output
No response
Code of Conduct
Sensitive Information Declaration
Is there an existing issue for this?
Current Behavior
The docker related make targets don't appear to work correctly you get
I believe the reason behind this is the docker targets have a flaw in that they use 'source' which is not POSIX compliant, its a bash built-in and not all shells support it. The POSIX compliant way is to use
.(https://www.gnu.org/savannah-checkouts/gnu/bash/manual/bash.html#Bourne-Shell-Builtins)Expected Behavior
Steps To Reproduce
make runner-act workflow=cicd-1-pull-request job=commit-stage
Output
No response
Code of Conduct
Sensitive Information Declaration