Skip to content
Snippets Groups Projects
Commit 9dff96b1 authored by Thomas Schneider's avatar Thomas Schneider Committed by Thomas Schneider
Browse files

ci: Use upstream golang image

This saves considerable time, as we do not need to apt-get install golang.
parent bc25bea5
No related branches found
No related tags found
1 merge request!1Merge GitLab CI config
...@@ -10,11 +10,9 @@ cache: ...@@ -10,11 +10,9 @@ cache:
- .go - .go
build: build:
image: debian:buster image: golang:1-buster
stage: build stage: build
before_script: 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 - go version
script: script:
- go build -o $CI_PROJECT_NAME-$GOOS-$GOARCH - go build -o $CI_PROJECT_NAME-$GOOS-$GOARCH
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment