diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index fc5aa90e0d8695975fb1649aef69695b1db93c00..0b9530e9544bdf2c63a74c25999f01a24b911f56 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -10,11 +10,9 @@ cache: - .go build: - image: debian:buster + image: golang:1-buster stage: build before_script: - - echo 'deb http://deb.debian.org/debian buster-backports main' > /etc/apt/sources.list.d/backports.list - - apt-get update && apt-get -qq -y -t buster-backports install golang git - go version script: - go build -o $CI_PROJECT_NAME-$GOOS-$GOARCH