diff --git a/.drone.yml b/.drone.yml index f6ba18a..af5a129 100644 --- a/.drone.yml +++ b/.drone.yml @@ -25,4 +25,7 @@ steps: username: from_secret: docker_username password: - from_secret: docker_password \ No newline at end of file + from_secret: docker_password + when: + event: + - tag diff --git a/cmd/main.go b/cmd/main.go index 93b7be6..dfdc068 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -73,7 +73,7 @@ func main() { cli.StringFlag{ Name: "action-image", Usage: "Image to use for running github actions", - Value: "node:12-buster-slim", + Value: "node:16-buster-slim", EnvVar: "PLUGIN_ACTION_IMAGE", }, cli.StringFlag{ diff --git a/docker/Dockerfile.linux.amd64 b/docker/Dockerfile.linux.amd64 index 0380593..aee685a 100644 --- a/docker/Dockerfile.linux.amd64 +++ b/docker/Dockerfile.linux.amd64 @@ -3,7 +3,7 @@ FROM docker:dind ENV DOCKER_HOST=unix:///var/run/docker.sock RUN apk add --no-cache ca-certificates curl -RUN curl -s https://raw.githubusercontent.com/nektos/act/master/install.sh | sh -s v0.2.24 +RUN curl -s https://raw.githubusercontent.com/nektos/act/master/install.sh | sh -s v0.2.34 ADD release/linux/amd64/plugin /bin/ ENTRYPOINT ["/usr/local/bin/dockerd-entrypoint.sh", "/bin/plugin"] \ No newline at end of file