-
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
953c843
commit 21383fa
Showing
1 changed file
with
14 additions
and
9 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 |
---|---|---|
|
@@ -14,12 +14,6 @@ jobs: | |
sudo install skaffold /usr/local/bin/ | ||
shell: bash | ||
|
||
- name: Login to Container Registry | ||
run: docker login -u ${{ secrets.CONTAINER_REGISTRY_USERNAME }} -p ${{ secrets.CONTAINER_REGISTRY_PASSWORD }} | ||
env: | ||
DOCKER_CLI_ACI_SERVER: ${{ secrets.CONTAINER_REGISTRY_SERVER }} | ||
shell: bash | ||
|
||
- name: Download Service Account Key | ||
uses: actions/checkout@v2 | ||
with: | ||
|
@@ -28,10 +22,21 @@ jobs: | |
GCP_AUTH_KEY: ${{ secrets.GCP_AUTH_KEY }} | ||
shell: bash | ||
|
||
- name: Activate Service Account | ||
run: gcloud auth activate-service-account [email protected] --key-file=$GITHUB_WORKSPACE/authkey/web3-agoric.json | ||
- name: Set Google Cloud Credentials | ||
run: | | ||
echo "$GCP_AUTH_KEY" > $GITHUB_WORKSPACE/authkey/google-credentials.json | ||
export GOOGLE_APPLICATION_CREDENTIALS="$GITHUB_WORKSPACE/authkey/google-credentials.json" | ||
shell: bash | ||
|
||
- name: Configure Docker to Authenticate with Google Cloud | ||
run: | | ||
gcloud auth configure-docker | ||
shell: bash | ||
|
||
- name: Login to Container Registry | ||
run: docker login -u _json_key -p "$GCP_AUTH_KEY" https://gcr.io | ||
env: | ||
GOOGLE_APPLICATION_CREDENTIALS: $GITHUB_WORKSPACE/authkey/web3-agoric.json | ||
DOCKER_CLI_ACI_SERVER: ${{ secrets.CONTAINER_REGISTRY_SERVER }} | ||
shell: bash | ||
|
||
- name: Login to Kubernetes | ||
|