template / commit
Trying out a different approach: use pwsh docker image, then install golang using chocolatey.
.gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f1e5810..d2e0df6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -16,11 +16,11 @@ # This specific template is located at: # https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/gitlab/ci/templates/Getting-Started.gitlab-ci.yml -image: golang:1.19 +# image: golang:1.19 +image: mcr.microsoft.com/powershell:latest before_script: - - apt-get install snap snapd -y - - snap install powershell --classic + - choco install golang stages: # List of stages for jobs, and their order of execution - build