Skip to content

Commit

Permalink
changes for emerynet pipelien
Browse files Browse the repository at this point in the history
  • 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.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 21383fa

Please sign in to comment.