Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c66728a

Browse files
authoredMay 10, 2022
Merge 7dda7f9 into 53b5d41
2 parents 53b5d41 + 7dda7f9 commit c66728a

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
 

‎.github/workflows/docker.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@ jobs:
3535
username: ${{ secrets.DOCKER_USERNAME }}
3636
password: ${{ secrets.DOCKER_PASSWORD }}
3737

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+
3845
- name: Get version
3946
id: version
4047
run: echo "::set-output name=version::$(jq -r .version package.json)"

‎ci/release-image/docker-bake.hcl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ target "code-server" {
1515
tags = [
1616
"docker.io/codercom/code-server:latest",
1717
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}" : "",
1820
]
1921
platforms = ["linux/amd64", "linux/arm64"]
2022
}

0 commit comments

Comments
 (0)
Please sign in to comment.