Skip to content

Commit

Permalink
change container registry
Browse files Browse the repository at this point in the history
  • Loading branch information
echo8 committed Nov 20, 2024
1 parent 53fefc9 commit 581b46e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ echo "ulimits: $(ulimit -Sn):$(ulimit -Hn)"
sed -i 's/ulimit -Hn/# ulimit -Hn/g' /etc/init.d/docker
service docker start

# login to github container registry
echo $GITHUB_TOKEN | docker login ghcr.io -u echo8 --password-stdin

# go to krp dir and run goreleaser
cd /tmp/krp/src
curl -sfL https://goreleaser.com/static/run | bash -s -- release
4 changes: 2 additions & 2 deletions src/.goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ builds:
dockers:
- image_templates:
- "gcr.io/echo8/krp:{{ .Tag }}"
- "gcr.io/echo8/krp:latest"
- "ghcr.io/echo8/krp:{{ .Tag }}"
- "ghcr.io/echo8/krp:latest"
dockerfile: ../docker/Dockerfile
build_flag_templates:
- "--build-arg=config_path=config.yaml"
Expand Down

0 comments on commit 581b46e

Please sign in to comment.