File tree Expand file tree Collapse file tree 2 files changed +24
-3
lines changed Expand file tree Collapse file tree 2 files changed +24
-3
lines changed Original file line number Diff line number Diff line change 21
21
22
22
backend :
23
23
docker :
24
- - image : circleci/golang:1.14
24
+ - image : circleci/golang:1.16
25
25
working_directory : /go/src/github.com/RoboCup-SSL/ssl-game-controller
26
26
steps :
27
27
- checkout
47
47
48
48
publish-github-release :
49
49
docker :
50
- - image : circleci/golang:1.14
50
+ - image : circleci/golang:1.16
51
51
steps :
52
52
- attach_workspace :
53
53
at : .
65
65
go get github.com/tcnksm/ghr
66
66
ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -delete ${CIRCLE_TAG} ./release/gh/
67
67
68
+ docker :
69
+ docker :
70
+ - image : cimg/base:2021.04
71
+ steps :
72
+ - checkout
73
+ - setup_remote_docker :
74
+ version : 20.10.6
75
+ - run : |
76
+ TAG=${CIRCLE_TAG:1}
77
+ TAG=${TAG:-latest}
78
+ docker build -t robocupssl/ssl-simulation-controller:$TAG .
79
+ docker login -u "${DOCKER_HUB_USERNAME}" -p "${DOCKER_HUB_PASSWORD}"
80
+ docker push robocupssl/ssl-simulation-controller:$TAG
81
+
68
82
workflows :
69
83
version : 2
70
84
main :
@@ -87,3 +101,10 @@ workflows:
87
101
ignore : /.*/
88
102
tags :
89
103
only : /^v.*/
104
+ - docker :
105
+ context : docker hub
106
+ filters :
107
+ branches :
108
+ only : master
109
+ tags :
110
+ only : /^v.*/
Original file line number Diff line number Diff line change 4
4
RUN yarn install
5
5
RUN yarn build
6
6
7
- FROM golang:1.14 -alpine AS build_go
7
+ FROM golang:1.16 -alpine AS build_go
8
8
WORKDIR /go/src/github.com/RoboCup-SSL/ssl-game-controller
9
9
COPY . .
10
10
COPY --from=build_node /tmp/ssl-game-controller/dist dist
You can’t perform that action at this time.
0 commit comments