ci: test filter for ref-names
Some checks failed
lint, build and push / lint (push) Successful in 3s
lint, build and push / build (push) Failing after 10s

This commit is contained in:
Michael Grote 2024-10-13 19:10:43 +02:00
parent 01a1c446f5
commit ddccf5ce09

View file

@ -59,7 +59,7 @@ jobs:
echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}') >> $GITHUB_OUTPUT
- name: Extract branch name
shell: bash
run: echo "REPO_BRANCH=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
run: echo "REPO_BRANCH=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" | tr -cd '[:alnum:]_-' >> $GITHUB_OUTPUT
id: extract_branch
- name: Build and push Docker image
uses: https://github.com/docker/build-push-action@v6
@ -83,4 +83,3 @@ jobs:
Job: ${{ github.action }}
Status: ${{ job.status }}
Source: ${{ github.head_ref }}