Skip to content

Release/dev

Release/dev #36

Workflow file for this run

name: ci
on:
push:
branches:
- "release/dev"
jobs:
build:
runs-on: ubuntu-latest
steps:

Check failure on line 11 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build.yml

Invalid workflow file

You have an error in your yaml syntax on line 11
-
name: Checkout
uses: actions/checkout@v4
-
name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
-
name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/img-http-echo:latest
-
name: Set up kubectl
uses: azure/setup-kubectl@v1
with:
kubeconfig: ${{ secrets.KUBECONFIG }}
-
name: Set up Helm
uses: azure/setup-helm@v1
with:
kubeconfig: ${{ secrets.KUBECONFIG }}
-
name: Deploy
with:
exec: helm upgrade APP_NAME ./helm-http-echo --install --wait --atomic --namespace=APP_NAMESPACE --values=./.helm-http-echo
kubeconfig: '${{ secrets.KUBECONFIG }}'
# run: |
# helm upgrade --install http-echo-release ./helm-http-echo
env:
KUBECONFIG: ${{ secrets.KUBECONFIG }}