ci: check with other var
This commit is contained in:
parent
ddccf5ce09
commit
197ae9f43b
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ jobs:
|
||||||
echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}') >> $GITHUB_OUTPUT
|
echo REPO_NAME=$(echo ${GITHUB_REPOSITORY} | awk -F"/" '{print $2}') >> $GITHUB_OUTPUT
|
||||||
- name: Extract branch name
|
- name: Extract branch name
|
||||||
shell: bash
|
shell: bash
|
||||||
run: echo "REPO_BRANCH=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" | tr -cd '[:alnum:]_-' >> $GITHUB_OUTPUT
|
run: echo "REPO_BRANCH=${GITHUB_REF_NAME}}" >> $GITHUB_OUTPUT
|
||||||
id: extract_branch
|
id: extract_branch
|
||||||
- name: Build and push Docker image
|
- name: Build and push Docker image
|
||||||
uses: https://github.com/docker/build-push-action@v6
|
uses: https://github.com/docker/build-push-action@v6
|
||||||
|
|
Loading…
Reference in a new issue