Skip to content
name: CI/CD Emerynet
on:
push
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Install Skaffold
run: |
curl -Lo skaffold https://storage.googleapis.com/skaffold/releases/latest/skaffold-linux-amd64
sudo install skaffold /usr/local/bin/
shell: bash
- name: Login to GCR
uses: docker/login-action@v3

Check failure on line 21 in .github/workflows/azure-pipelines-emerynet.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/azure-pipelines-emerynet.yml

Invalid workflow file

You have an error in your yaml syntax on line 21
with:
registry: gcr.io
username: _json_key
password: ${{ secrets.GCP_AUTH_KEY }}
- name: Login to Kubernetes
uses: azure/k8s-set-context@v1
with:
kubeconfig: ${{ secrets.KUBECONFIG }}
cluster-context: "gke-service-connection"
namespace: "agoric-makefile-automation"
- name: Build and push Docker images
run: |
cd frontend
export $(grep -v '^#' .env.emerynet | xargs)
envsubst < ../deployment/emerynet/workloads/config/ui-config.template.yaml > ../deployment/emerynet/workloads/config/ui-config.yaml
envsubst < skaffold.emerynet.template.yaml > skaffold.emerynet.yaml
skaffold run --filename skaffold.emerynet.yaml
shell: bash