Development Dynamic Enviroment #46
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
name: Development Dynamic Enviroment | |
on: | |
push: | |
branches: ["development"] | |
pull_request: | |
branches: ["development"] | |
jobs: | |
build: | |
runs-on: arc-runner-set | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- run: npm ci | |
- run: npm run fmt.check | |
- run: npm run lint | |
- run: npm run build | |
- name: Create kubeconfig | |
env: | |
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }} | |
run: | | |
mkdir -p $GITHUB_WORKSPACE/.kube | |
echo "$KUBE_CONFIG" | base64 --decode > $GITHUB_WORKSPACE/.kube/config | |
- name: Run Skaffold pipeline as action | |
uses: hiberbee/[email protected] | |
with: | |
skaffold-version: 2.9.0 | |
command: run | |
kubeconfig: ${{ github.workspace }}/.kube/config | |
filename: ${{ github.workspace }}/dev-skaffold.yaml | |
repository: registry.internal.visoft.solutions |