Skip to content

Add helm chart, support to deploy into K8S #1

Add helm chart, support to deploy into K8S

Add helm chart, support to deploy into K8S #1

Workflow file for this run

name: Docker Image CI
on:
push:
tags:
- 'v*'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Login to ghcr.io
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Setup QEMU
uses: docker/setup-qemu-action@v3
with:
platforms: amd64,arm64

Check failure on line 26 in .github/workflows/ci-docker.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci-docker.yml

Invalid workflow file

You have an error in your yaml syntax on line 26
- name: Set up docker buildx
uses: docker/setup-buildx-action@v2
- name: Read version from file
run: APP_VERSION=$(cut -d '|' -f 2 ./service/assets/version)
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm64
push: true
tags: |
ghcr.io/${{ github.repository }}:latest
ghcr.io/${{ github.repository }}:${{ env.APP_VERSION }}