Skip to content

test3

test3 #7

name: Publish Helm Chart
on:
push:
branches:
- publish_helm
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Helm
uses: azure/setup-helm@v1
with:
version: 'latest'
- name: Package Helm Chart
working-directory: open-dora-helm-chart
run: |
helm package .
mv *.tgz $GITHUB_WORKSPACE
- name: Publish to GitHub Packages
run: |

Check failure on line 28 in .github/workflows/publish-helm-chart.yaml

View workflow run for this annotation

GitHub Actions / Publish Helm Chart

Invalid workflow file

The workflow is not valid. .github/workflows/publish-helm-chart.yaml (Line: 28, Col: 12): Unexpected symbol: '|'. Located at position 19 within expression: github.repository | lower
echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin
HELM_CHART_TGZ=$(basename $GITHUB_WORKSPACE/open-dora-helm-chart-*.tgz)
DOCKER_IMAGE_NAME=ghcr.io/${{ github.repository | lower }}/open-dora-helm-chart
docker tag $DOCKER_IMAGE_NAME:$HELM_CHART_TGZ $DOCKER_IMAGE_NAME:latest
docker push $DOCKER_IMAGE_NAME:latest