fuzzyworld

template / commit

Trying out a different approach: use pwsh docker image, then install golang using chocolatey.

9b31150e9c2d9f252ee7a80725443d1a1816da5b · Pavel Safronov · 2022-11-17 15:33:47 -0800 · parents 4a6bcf2f4de1

Trying out a different approach: use pwsh docker image, then install golang using chocolatey.
(Does it need to be this weird?)
 .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