ci: use go install for task

This commit is contained in:
Denis Gukov 2024-01-26 22:17:24 +05:00
parent 5171354461
commit c9c7ccf9aa

View File

@ -27,7 +27,7 @@ RUN adduser -D -u 1002 -g 0 semaphore && \
ssh-keygen -t rsa -q -f "/root/.ssh/id_rsa" -N "" && \
ssh-keyscan -H github.com > /root/.ssh/known_hosts
RUN cd $(go env GOPATH) && curl -sL https://taskfile.dev/install.sh | sh
RUN cd $(go env GOPATH) && go install github.com/go-task/task/v3/cmd/task@latest
RUN git config --global --add safe.directory /go/src/github.com/ansible-semaphore/semaphore