4343 shell : bash
4444 id : determine
4545 run : |
46- HAS_CONTAINER ="${{ vars.HAS_CONTAINER }}"
47- echo "has_container=${HAS_CONTAINER :-false}" >> ${GITHUB_OUTPUT}
46+ has_container ="${{ vars.HAS_CONTAINER }}"
47+ echo "has_container=${has_container :-false}" >> ${GITHUB_OUTPUT}
4848
4949 changes :
5050 name : Detect changes
@@ -143,18 +143,18 @@ jobs:
143143 shell : bash
144144 id : version
145145 run : |
146- VERSION ="$(cog bump --auto --dry-run || true)"
146+ version ="$(cog bump --auto --dry-run || true)"
147147
148- if [[ "$VERSION " =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
149- echo "New version: ${VERSION }"
148+ if [[ "$version " =~ ^v[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
149+ echo "New version: ${version }"
150150 else
151- VERSION ="v$(cog -v get-version)"
151+ version ="v$(cog -v get-version)"
152152
153- echo "No version generated, defaulting to latest tag: ${VERSION }"
153+ echo "No version generated, defaulting to latest tag: ${version }"
154154 fi
155155
156156 # remove v
157- VERSION ="${VERSION //v/}"
157+ version ="${version //v/}"
158158
159159 # store
160160 echo "version=${VERSION}" >> ${GITHUB_OUTPUT}
@@ -522,8 +522,8 @@ jobs:
522522 - name : Set Docker tag
523523 shell : bash
524524 run : |
525- UNIQUE_TAG =pr-${{ github.event.pull_request.base.sha }}-${{ github.event.pull_request.head.sha }}
526- echo "UNIQUE_TAG=${UNIQUE_TAG ##*/}" >> ${GITHUB_ENV}
525+ unique_tag =pr-${{ github.event.pull_request.base.sha }}-${{ github.event.pull_request.head.sha }}
526+ echo "UNIQUE_TAG=${unique_tag ##*/}" >> ${GITHUB_ENV}
527527
528528 # Extract metadata (tags, labels) for Docker
529529 # https://github.com/docker/metadata-action
@@ -548,8 +548,8 @@ jobs:
548548 - name : Set application name
549549 shell : bash
550550 run : |
551- APPLICATION_NAME =${{ github.repository }}
552- echo "APPLICATION_NAME=${APPLICATION_NAME ##*/}" >> ${GITHUB_ENV}
551+ application_name =${{ github.repository }}
552+ echo "APPLICATION_NAME=${application_name ##*/}" >> ${GITHUB_ENV}
553553
554554 - name : Build Docker image
555555 uses : docker/build-push-action@1dc73863535b631f98b2378be8619f83b136f4a0 # v6.17.0
@@ -614,14 +614,14 @@ jobs:
614614 - name : Set application name
615615 shell : bash
616616 run : |
617- APPLICATION_NAME =${{ github.repository }}
618- echo "APPLICATION_NAME=${APPLICATION_NAME ##*/}" >> ${GITHUB_ENV}
617+ application_name =${{ github.repository }}
618+ echo "APPLICATION_NAME=${application_name ##*/}" >> ${GITHUB_ENV}
619619
620620 - name : Set Docker tag (which is also the filename.tar)
621621 shell : bash
622622 run : |
623- UNIQUE_TAG =pr-${{ github.event.pull_request.base.sha }}-${{ github.event.pull_request.head.sha }}
624- echo "UNIQUE_TAG=${UNIQUE_TAG ##*/}" >> ${GITHUB_ENV}
623+ unique_tag =pr-${{ github.event.pull_request.base.sha }}-${{ github.event.pull_request.head.sha }}
624+ echo "UNIQUE_TAG=${unique_tag ##*/}" >> ${GITHUB_ENV}
625625
626626 - name : Extract Docker metadata
627627 uses : docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
0 commit comments