mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
use debian buster and bullseye as base images
This commit is contained in:
parent
82cc0f38f7
commit
130b63ccdd
1 changed files with 6 additions and 4 deletions
|
@ -1,6 +1,8 @@
|
||||||
|
|
||||||
variables:
|
variables:
|
||||||
DEBIAN_FRONTEND: noninteractive
|
DEBIAN_FRONTEND: noninteractive
|
||||||
|
DEBIAN_OLD_STABLE: buster
|
||||||
|
DEBIAN_STABLE: bullseye
|
||||||
REPRODUCIBLE_FLAGS: -trimpath -ldflags=-buildid=
|
REPRODUCIBLE_FLAGS: -trimpath -ldflags=-buildid=
|
||||||
|
|
||||||
# set up apt for automated use
|
# set up apt for automated use
|
||||||
|
@ -141,21 +143,21 @@ android:
|
||||||
- gomobile bind -v -target=android $REPRODUCIBLE_FLAGS .
|
- gomobile bind -v -target=android $REPRODUCIBLE_FLAGS .
|
||||||
|
|
||||||
go-1.18:
|
go-1.18:
|
||||||
image: golang:1.18-stretch
|
image: golang:1.18-$DEBIAN_OLD_STABLE
|
||||||
<<: *golang-docker-debian-template
|
<<: *golang-docker-debian-template
|
||||||
<<: *test-template
|
<<: *test-template
|
||||||
script:
|
script:
|
||||||
- *go-test
|
- *go-test
|
||||||
|
|
||||||
go-1.19:
|
go-1.19:
|
||||||
image: golang:1.19-buster
|
image: golang:1.19-$DEBIAN_STABLE
|
||||||
<<: *golang-docker-debian-template
|
<<: *golang-docker-debian-template
|
||||||
<<: *test-template
|
<<: *test-template
|
||||||
script:
|
script:
|
||||||
- *go-test
|
- *go-test
|
||||||
|
|
||||||
go-1.20:
|
go-1.20:
|
||||||
image: golang:1.20-buster
|
image: golang:1.20-$DEBIAN_STABLE
|
||||||
<<: *golang-docker-debian-template
|
<<: *golang-docker-debian-template
|
||||||
<<: *test-template
|
<<: *test-template
|
||||||
script:
|
script:
|
||||||
|
@ -170,7 +172,7 @@ debian-testing:
|
||||||
|
|
||||||
generate_tarball:
|
generate_tarball:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
image: golang:1.19-buster
|
image: golang:1.19-$DEBIAN_STABLE
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_TAG
|
- if: $CI_COMMIT_TAG
|
||||||
script:
|
script:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue