Greetings. I came across this issue.
name: Secure FTP
on:
workflow_dispatch:
jobs:
execute-secure-ftp:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Transfer files via FTP
uses: ercindedeoglu/ftp-transfer-action@v2
with:
host: ${{ secrets.FTP_HOST }}
user: ${{ secrets.FTP_USER }}
password: ${{ secrets.FTP_PASSWORD }}
source: './local_directory/'
destination: ${{ secrets.ADICA_ONLINE_DIRECTORY }}
# forceSSL: true
options: "--verbose"
2024-08-20T21:55:07.9008869Z #5 [internal] load build context
2024-08-20T21:55:07.9009451Z #5 transferring context: 11.53kB done
2024-08-20T21:55:07.9010097Z #5 DONE 0.0s
2024-08-20T21:55:07.9010330Z
2024-08-20T21:55:07.9777826Z #6 [2/5] RUN apk --no-cache add lftp && adduser -D -u 1001 ftpuser
2024-08-20T21:55:07.9780002Z #6 0.225 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz
2024-08-20T21:55:08.0780806Z #6 0.334 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz
2024-08-20T21:55:08.3163254Z #6 0.579 (1/6) Installing ncurses-terminfo-base (6.3_p20220521-r1)
2024-08-20T21:55:08.4210154Z #6 0.589 (2/6) Installing ncurses-libs (6.3_p20220521-r1)
2024-08-20T21:55:08.4211920Z #6 0.604 (3/6) Installing readline (8.1.2-r0)
2024-08-20T21:55:08.4213220Z #6 0.614 (4/6) Installing libgcc (11.2.1_git20220219-r2)
2024-08-20T21:55:08.4214591Z #6 0.622 (5/6) Installing libstdc++ (11.2.1_git20220219-r2)
2024-08-20T21:55:08.4215928Z #6 0.647 (6/6) Installing lftp (4.9.2-r3)
2024-08-20T21:55:08.4217174Z #6 0.683 Executing busybox-1.35.0-r17.trigger
2024-08-20T21:55:08.5305077Z #6 0.691 OK: 11 MiB in 20 packages
2024-08-20T21:55:08.5306021Z #6 DONE 0.8s
2024-08-20T21:55:08.5306402Z
2024-08-20T21:55:08.5306686Z #7 [3/5] COPY LICENSE README.md /
2024-08-20T21:55:08.5307540Z #7 DONE 0.0s
2024-08-20T21:55:08.7111571Z
2024-08-20T21:55:08.7118779Z #8 [4/5] COPY entrypoint.sh /entrypoint.sh
2024-08-20T21:55:08.7119986Z #8 DONE 0.0s
2024-08-20T21:55:08.7120940Z
2024-08-20T21:55:08.7121837Z #9 [5/5] RUN chmod +x /entrypoint.sh
2024-08-20T21:55:08.7712034Z #9 0.212 chmod: /entrypoint.sh: Operation not permitted
2024-08-20T21:55:08.8646781Z #9 ERROR: process "/bin/sh -c chmod +x /entrypoint.sh" did not complete successfully: exit code: 1
2024-08-20T21:55:08.8701420Z ------
2024-08-20T21:55:08.8758667Z > [5/5] RUN chmod +x /entrypoint.sh:
2024-08-20T21:55:08.8764400Z 0.212 chmod: /entrypoint.sh: Operation not permitted
2024-08-20T21:55:08.8767142Z ------
2024-08-20T21:55:08.8768861Z Dockerfile:27
2024-08-20T21:55:08.8770660Z --------------------
2024-08-20T21:55:08.8772278Z 25 |
2024-08-20T21:55:08.8773938Z 26 | # Set necessary file permissions
2024-08-20T21:55:08.8776441Z 27 | >>> RUN chmod +x /entrypoint.sh
2024-08-20T21:55:08.8779202Z 28 |
2024-08-20T21:55:08.8781030Z 29 | # Set the entrypoint script to be executable
2024-08-20T21:55:08.8802357Z --------------------
2024-08-20T21:55:08.8805016Z ERROR: failed to solve: process "/bin/sh -c chmod +x /entrypoint.sh" did not complete successfully: exit code: 1
2024-08-20T21:55:08.8849568Z ##[warning]Docker build failed with exit code 1, back off 6.358 seconds before retry.
2024-08-20T21:55:15.2398144Z ##[command]/usr/bin/docker build -t e428b7:d09570a207424351b5137d3a518631e7 -f "/home/runner/work/_actions/ercindedeoglu/
ftp-transfer-action/v2/Dockerfile" "/home/runner/work/_actions/ercindedeoglu/ftp-transfer-action/v2"
2024-08-20T21:55:15.5600946Z #0 building with "default" instance using docker driver
2024-08-20T21:55:15.5601582Z
2024-08-20T21:55:15.5602014Z #1 [internal] load build definition from Dockerfile
2024-08-20T21:55:15.5602685Z #1 transferring dockerfile: 988B done
2024-08-20T21:55:15.5603240Z #1 DONE 0.0s
2024-08-20T21:55:15.5603527Z
2024-08-20T21:55:15.5603775Z #2 [internal] load metadata for docker.io/library/alpine:3.16
2024-08-20T21:55:15.5604294Z #2 DONE 0.0s
2024-08-20T21:55:15.5604491Z
2024-08-20T21:55:15.5604668Z #3 [internal] load .dockerignore
2024-08-20T21:55:15.5605173Z #3 transferring context: 2B done
2024-08-20T21:55:15.5605604Z #3 DONE 0.0s
2024-08-20T21:55:15.5605778Z
2024-08-20T21:55:15.5606046Z #4 [1/5] FROM docker.io/library/alpine:3.16
2024-08-20T21:55:15.5606518Z #4 DONE 0.0s
2024-08-20T21:55:15.5606717Z
2024-08-20T21:55:15.5606898Z #5 [internal] load build context
2024-08-20T21:55:15.5607407Z #5 transferring context: 91B done
2024-08-20T21:55:15.5607811Z #5 DONE 0.0s
2024-08-20T21:55:15.5608021Z
2024-08-20T21:55:15.5608290Z #6 [2/5] RUN apk --no-cache add lftp && adduser -D -u 1001 ftpuser
2024-08-20T21:55:15.5608904Z #6 CACHED
2024-08-20T21:55:15.5609124Z
2024-08-20T21:55:15.5609267Z #7 [3/5] COPY LICENSE README.md /
2024-08-20T21:55:15.5609664Z #7 CACHED
2024-08-20T21:55:15.5609923Z
2024-08-20T21:55:15.5610104Z #8 [4/5] COPY entrypoint.sh /entrypoint.sh
2024-08-20T21:55:15.5610539Z #8 CACHED
2024-08-20T21:55:15.5610731Z
2024-08-20T21:55:15.5610942Z #9 [5/5] RUN chmod +x /entrypoint.sh
2024-08-20T21:55:15.6115256Z #9 0.202 chmod: /entrypoint.sh: Operation not permitted
2024-08-20T21:55:15.6645837Z #9 ERROR: process "/bin/sh -c chmod +x /entrypoint.sh" did not complete successfully: exit code: 1
2024-08-20T21:55:15.6647882Z ------
2024-08-20T21:55:15.6649307Z > [5/5] RUN chmod +x /entrypoint.sh:
2024-08-20T21:55:15.6650842Z 0.202 chmod: /entrypoint.sh: Operation not permitted
2024-08-20T21:55:15.6652902Z ------
2024-08-20T21:55:15.6654090Z Dockerfile:27
2024-08-20T21:55:15.6654755Z --------------------
2024-08-20T21:55:15.6655337Z 25 |
2024-08-20T21:55:15.6655923Z 26 | # Set necessary file permissions
2024-08-20T21:55:15.6656864Z 27 | >>> RUN chmod +x /entrypoint.sh
2024-08-20T21:55:15.6657547Z 28 |
2024-08-20T21:55:15.6658121Z 29 | # Set the entrypoint script to be executable
2024-08-20T21:55:15.6659007Z --------------------
2024-08-20T21:55:15.6660273Z ERROR: failed to solve: process "/bin/sh -c chmod +x /entrypoint.sh" did not complete successfully: exit code: 1
2024-08-20T21:55:15.6691739Z ##[warning]Docker build failed with exit code 1, back off 3.44 seconds before retry.
2024-08-20T21:55:19.1047355Z ##[command]/usr/bin/docker build -t e428b7:d09570a207424351b5137d3a518631e7 -f "/home/runner/work/_actions/ercindedeoglu/
ftp-transfer-action/v2/Dockerfile" "/home/runner/work/_actions/ercindedeoglu/ftp-transfer-action/v2"
2024-08-20T21:55:19.4221772Z #0 building with "default" instance using docker driver
2024-08-20T21:55:19.4222692Z
2024-08-20T21:55:19.4230144Z #1 [internal] load build definition from Dockerfile
2024-08-20T21:55:19.4236805Z #1 transferring dockerfile: 988B done
2024-08-20T21:55:19.4241607Z #1 DONE 0.0s
2024-08-20T21:55:19.4248969Z
2024-08-20T21:55:19.4253940Z #2 [internal] load metadata for docker.io/library/alpine:3.16
2024-08-20T21:55:19.4259921Z #2 DONE 0.0s
2024-08-20T21:55:19.4267901Z
2024-08-20T21:55:19.4273905Z #3 [internal] load .dockerignore
2024-08-20T21:55:19.4280257Z #3 transferring context: 2B done
2024-08-20T21:55:19.4287496Z #3 DONE 0.0s
2024-08-20T21:55:19.4294642Z
2024-08-20T21:55:19.4298990Z #4 [1/5] FROM docker.io/library/alpine:3.16
2024-08-20T21:55:19.4304936Z #4 DONE 0.0s
2024-08-20T21:55:19.4308363Z
2024-08-20T21:55:19.4312846Z #5 [internal] load build context
2024-08-20T21:55:19.4316123Z #5 transferring context: 91B done
2024-08-20T21:55:19.4319506Z #5 DONE 0.0s
2024-08-20T21:55:19.4321705Z
2024-08-20T21:55:19.4324918Z #6 [2/5] RUN apk --no-cache add lftp && adduser -D -u 1001 ftpuser
2024-08-20T21:55:19.4329257Z #6 CACHED
2024-08-20T21:55:19.4332044Z
2024-08-20T21:55:19.4334573Z #7 [3/5] COPY LICENSE README.md /
2024-08-20T21:55:19.4337133Z #7 CACHED
2024-08-20T21:55:19.4338909Z
2024-08-20T21:55:19.4341167Z #8 [4/5] COPY entrypoint.sh /entrypoint.sh
2024-08-20T21:55:19.4344130Z #8 CACHED
2024-08-20T21:55:19.4346183Z
2024-08-20T21:55:19.4350554Z #9 [5/5] RUN chmod +x /entrypoint.sh
2024-08-20T21:55:19.4426812Z #9 0.172 chmod: /entrypoint.sh: Operation not permitted
2024-08-20T21:55:19.4800247Z #9 ERROR: process "/bin/sh -c chmod +x /entrypoint.sh" did not complete successfully: exit code: 1
2024-08-20T21:55:19.4801946Z ------
2024-08-20T21:55:19.4848088Z > [5/5] RUN chmod +x /entrypoint.sh:
2024-08-20T21:55:19.4848997Z 0.172 chmod: /entrypoint.sh: Operation not permitted
2024-08-20T21:55:19.4849952Z ------
2024-08-20T21:55:19.4850432Z Dockerfile:27
2024-08-20T21:55:19.4851064Z --------------------
2024-08-20T21:55:19.4851623Z 25 |
2024-08-20T21:55:19.4852200Z 26 | # Set necessary file permissions
2024-08-20T21:55:19.4853081Z 27 | >>> RUN chmod +x /entrypoint.sh
2024-08-20T21:55:19.4853797Z 28 |
2024-08-20T21:55:19.4854447Z 29 | # Set the entrypoint script to be executable
2024-08-20T21:55:19.4855329Z --------------------
2024-08-20T21:55:19.4856512Z ERROR: failed to solve: process "/bin/sh -c chmod +x /entrypoint.sh" did not complete successfully: exit code: 1
2024-08-20T21:55:19.4861081Z ##[endgroup]
2024-08-20T21:55:19.5035514Z ##[error]Docker build failed with exit code 1
Your reply is appreciated.
Thanks in advance.
Alexandre.