Avoid error forbidden path outside the build context: ../act/bin/act
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-07-31 12:09:54 +02:00
parent 60c0747e24
commit c8c002ab01
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ steps:
- name: act
image: golang:1.19
commands:
- cd .. && git clone -b v0.2.48 https://github.com/nektos/act.git && cd act
- git clone -b v0.2.48 https://github.com/nektos/act.git && cd act
- export ACT_VERSION=$(git describe --tags --dirty --always | sed -e 's/^v//')
- mkdir bin
- GOOS=linux GOARCH=amd64 go build -ldflags "-X main.version=$ACT_VERSION" -o bin/act main.go

View File

@@ -3,7 +3,7 @@ FROM docker:dind
ENV DOCKER_HOST=unix:///var/run/docker.sock
RUN apk add --no-cache ca-certificates curl
ADD ../act/bin/act /bin/
ADD act/bin/act /bin/
ADD release/linux/amd64/plugin /bin/
ENTRYPOINT ["/usr/local/bin/dockerd-entrypoint.sh", "/bin/plugin"]