Skip to content

Commit

Permalink
change to docker hub
Browse files Browse the repository at this point in the history
Signed-off-by: Keming <kemingyang@tensorchord.ai>
  • Loading branch information
kemingy committed Sep 26, 2022
1 parent 0863ac5 commit f58e55b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ jobs:
- name: Docker Login
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
username: ${{ secrets.DOCKERIO_USERNAME }}
password: ${{ secrets.DOCKERIO_TOKEN }}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
with:
Expand Down
10 changes: 5 additions & 5 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,15 +69,15 @@ changelog:
- '^chore:'
dockers:
- image_templates:
- "ghcr.io/tensorchord/envd-sshd-from-scratch:{{ .Version }}-amd64"
- "tensorchord/envd-sshd-from-scratch:{{ .Version }}-amd64"
use: buildx
dockerfile: .goreleaser/envd-sshd.Dockerfile
ids:
- envd-sshd
build_flag_templates:
- "--platform=linux/amd64"
- image_templates:
- "ghcr.io/tensorchord/envd-sshd-from-scratch:{{ .Version }}-arm64v8"
- "tensorchord/envd-sshd-from-scratch:{{ .Version }}-arm64v8"
use: buildx
goarch: arm64
ids:
Expand All @@ -86,10 +86,10 @@ dockers:
build_flag_templates:
- "--platform=linux/arm64/v8"
docker_manifests:
- name_template: ghcr.io/tensorchord/envd-sshd-from-scratch:{{ .Version }}
- name_template: tensorchord/envd-sshd-from-scratch:{{ .Version }}
image_templates:
- ghcr.io/tensorchord/envd-sshd-from-scratch:{{ .Version }}-amd64
- ghcr.io/tensorchord/envd-sshd-from-scratch:{{ .Version }}-arm64v8
- tensorchord/envd-sshd-from-scratch:{{ .Version }}-amd64
- tensorchord/envd-sshd-from-scratch:{{ .Version }}-arm64v8
# See https://github.com/tensorchord/envd/issues/908
# brews:
# - name: envd
Expand Down

0 comments on commit f58e55b

Please sign in to comment.