Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 25 additions & 19 deletions .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

runs-on: ubuntu-latest
env:
image: cranecloud/backend
image: cranecloud/cranecloud-backend
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -75,29 +75,35 @@ jobs:

env:
namespace: cranecloud-prod
image: cranecloud/backend
image: cranecloud/cranecloud-backend

steps:
- name: Clone
uses: actions/checkout@v2

- name: Login (GCP)
uses: google-github-actions/auth@v2
with:
credentials_json: ${{ secrets.CREDENTIALS_JSON }}

- name: Install (Gcloud)
uses: google-github-actions/setup-gcloud@v1
with:
project_id: crane-cloud-274413
install_components: "gke-gcloud-auth-plugin"
uses: actions/checkout@v4

- name: Login (Kubernetes Cluster)
uses: google-github-actions/get-gke-credentials@v1
# --- GCP DEPLOYMENT ---
# - name: Login (GCP)
# uses: google-github-actions/auth@v2
# with:
# credentials_json: ${{ secrets.CREDENTIALS_JSON }}

# - name: Install (Gcloud)
# uses: google-github-actions/setup-gcloud@v2
# with:
# project_id: crane-cloud-274413
# install_components: "gke-gcloud-auth-plugin"

# - name: Login (Kubernetes Cluster)
# uses: google-github-actions/get-gke-credentials@v2
# with:
# cluster_name: staging-cluster
# location: us-central1-a
# project_id: crane-cloud-274413

# --- RENU DEPLOYEMENT ---
- uses: azure/k8s-set-context@v1
with:
cluster_name: staging-cluster
location: us-central1-a
project_id: crane-cloud-274413
kubeconfig: ${{ secrets.RENU_KUBECONFIG}}

- name: Add Repo (cranecloud)
run: |
Expand Down
2 changes: 1 addition & 1 deletion helm/values.prod.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
replicaCount: 2

image:
repository: gcr.io/crane-cloud-274413/cranecloud-backend
repository: cranecloud/cranecloud-backend
pullPolicy: Always
tag: ${{ DOCKER_IMAGE_TAG }}

Expand Down
Loading