File tree 2 files changed +9
-0
lines changed
2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 35
35
username : ${{ secrets.DOCKER_USERNAME }}
36
36
password : ${{ secrets.DOCKER_PASSWORD }}
37
37
38
+ - name : Login to GHCR
39
+ uses : docker/login-action@v2
40
+ with :
41
+ registry : ghcr.io
42
+ username : ${{ github.actor }}
43
+ password : ${{ secrets.GITHUB_TOKEN }}
44
+
38
45
- name : Get version
39
46
id : version
40
47
run : echo "::set-output name=version::$(jq -r .version package.json)"
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ target "code-server" {
15
15
tags = [
16
16
" docker.io/codercom/code-server:latest" ,
17
17
notequal (" latest" ,VERSION) ? " docker.io/codercom/code-server:${ VERSION } " : " " ,
18
+ " ghcr.io/coder/code-server:latest" ,
19
+ notequal (" latest" ,VERSION) ? " ghcr.io/coder/code-server:${ VERSION } " : " " ,
18
20
]
19
21
platforms = [" linux/amd64" , " linux/arm64" ]
20
22
}
You can’t perform that action at this time.
0 commit comments