-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Xabier Almazor
authored and
Xabier Almazor
committed
Oct 11, 2023
1 parent
dde1694
commit 6c7c0d7
Showing
1 changed file
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,6 @@ jobs: | |
run: | | ||
curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/latest/skaffold-linux-amd64 | ||
sudo install skaffold /usr/local/bin/ | ||
sudo apt-get update -y && sudo apt-get -y install google-cloud-sdk-gke-gcloud-auth-plugin | ||
shell: bash | ||
|
||
- name: Authenticate with Google Cloud | ||
|
@@ -25,8 +24,10 @@ jobs: | |
project_id: web3-335312 | ||
export_default_credentials: true | ||
|
||
- name: Activate Service Account | ||
run: gcloud auth activate-service-account [email protected] --key-file=$GOOGLE_APPLICATION_CREDENTIALS | ||
- name: Activate Service Account + Install GKE Plugin | ||
run: | | ||
gcloud auth activate-service-account [email protected] --key-file=$GOOGLE_APPLICATION_CREDENTIALS | ||
gcloud components install gke-gcloud-auth-plugin | ||
- name: Login to GCR | ||
uses: docker/login-action@v3 | ||
|