Skip to content

fix: detect correctly v3 version when using sha in image.tag #922

fix: detect correctly v3 version when using sha in image.tag

fix: detect correctly v3 version when using sha in image.tag #922

Workflow file for this run

---
name: Test
on:
workflow_call:
workflow_dispatch:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Checkout master
run: git checkout master && git checkout - && git rev-parse HEAD
- name: Configure Git
run: |
git config user.name "$GITHUB_ACTOR"
git config user.email "$GITHUB_ACTOR@users.noreply.github.com"
- name: Lint
run: make lint
- name: Test
run: make test
- name: Track docs
run: |
if ! [ -z "$(git diff traefik/Chart.yaml | grep version:)" ]; then
make docs
if ! [ -z "$(git status | grep traefik/VALUES.md)" ]; then
echo "Traefik values have changed. Run make docs"
exit 1
fi
fi