Skip to content

Commit

Permalink
Merge branch 'main' into minor-improvements-to-formatting-output
Browse files Browse the repository at this point in the history
  • Loading branch information
aantn committed Jun 15, 2024
2 parents c3544b6 + c9f89f5 commit bff9fe0
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 20 deletions.
46 changes: 31 additions & 15 deletions .github/workflows/docker-build-on-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,11 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Set up gcloud CLI
uses: google-github-actions/[email protected]
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
service_account_key: ${{ secrets.GCP_SA_KEY }}
project_id: genuine-flight-317411
export_default_credentials: true

# Configure Docker to use the gcloud command-line tool as a credential helper for authentication
- name: Configure Docker
run: |-
gcloud auth configure-docker us-central1-docker.pkg.dev
- name: Verify gcloud configuration
run: |-
gcloud config get-value project
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
Expand All @@ -38,6 +28,32 @@ jobs:
context: .
platforms: linux/arm64,linux/amd64
push: true
tags: us-central1-docker.pkg.dev/genuine-flight-317411/devel/krr:${{ github.ref_name }}
tags: robustadev/krr:${{ github.ref_name }}
build-args: |
BUILDKIT_INLINE_CACHE=1
- name: Set up gcloud CLI
uses: google-github-actions/[email protected]
with:
service_account_key: ${{ secrets.GCP_SA_KEY }}
project_id: genuine-flight-317411
export_default_credentials: true

# Configure Docker to use the gcloud command-line tool as a credential helper for authentication
- name: Configure Docker
run: |-
gcloud auth configure-docker us-central1-docker.pkg.dev
- name: Verify gcloud configuration
run: |-
gcloud config get-value project
- name: Release Docker to old repo
run: |-
docker buildx build \
--build-arg BUILDKIT_INLINE_CACHE=1 \
--platform linux/arm64,linux/amd64 \
--cache-from robustadev/krr:${{ github.ref_name }} \
--tag us-central1-docker.pkg.dev/genuine-flight-317411/devel/krr:${{ github.ref_name }} \
--push \
.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,16 @@
![Product Name Screen Shot][product-screenshot]

<div align="center">
<h1 align="center">Robusta KRR</h1>
<p align="center">
Prometheus-based Kubernetes Resource Recommendations
<br />
<h1 align="center">Kubernetes Resource Recommendations Based on Historical Data</h1>
<h2 align="center">Get recommendations based on your existing data in Prometheus/Coralogix/Thanos/Mimir and more!</h2>
<p align="center">
<a href="#installation"><strong>Installation</strong></a>
.
<a href="#how-krr-works"><strong>How KRR works</strong></a>
.
<a href="#slack-integration"><strong>Slack Integration</strong></a>
.
<a href="#free-krr-ui-on-robusta-saas"><strong>KRR UI on Robusta Cloud</strong></a>
<a href="#free-krr-ui-on-robusta-saas"><strong>Free KRR UI</strong></a>
<br />
<a href="#usage">Usage</a>
·
Expand Down

0 comments on commit bff9fe0

Please sign in to comment.