fix(ci): explicitly use shell: bash for all steps
This commit is contained in:
@@ -29,6 +29,7 @@ jobs:
|
|||||||
project_name: ${{ steps.determine.outputs.project_name }}
|
project_name: ${{ steps.determine.outputs.project_name }}
|
||||||
steps:
|
steps:
|
||||||
- name: 🔍 Debug Info
|
- name: 🔍 Debug Info
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
echo "ref_name: ${{ github.ref_name }}"
|
echo "ref_name: ${{ github.ref_name }}"
|
||||||
echo "ref_type: ${{ github.ref_type }}"
|
echo "ref_type: ${{ github.ref_type }}"
|
||||||
@@ -36,6 +37,7 @@ jobs:
|
|||||||
|
|
||||||
- name: 🧹 Maintenance (Runner Cleanup)
|
- name: 🧹 Maintenance (Runner Cleanup)
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
docker image prune -f || true
|
docker image prune -f || true
|
||||||
docker builder prune -f --filter "until=24h" || true
|
docker builder prune -f --filter "until=24h" || true
|
||||||
@@ -47,6 +49,7 @@ jobs:
|
|||||||
|
|
||||||
- name: 🔍 Determine Environment
|
- name: 🔍 Determine Environment
|
||||||
id: determine
|
id: determine
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
TAG="${{ github.ref_name }}"
|
TAG="${{ github.ref_name }}"
|
||||||
SHORT_SHA=$(echo "${{ github.sha }}" | cut -c1-7)
|
SHORT_SHA=$(echo "${{ github.sha }}" | cut -c1-7)
|
||||||
@@ -125,6 +128,7 @@ jobs:
|
|||||||
run: echo "${{ secrets.REGISTRY_PASSWORD }}" | docker login registry.infra.mintel.me -u "${{ secrets.REGISTRY_USERNAME }}" --password-stdin
|
run: echo "${{ secrets.REGISTRY_PASSWORD }}" | docker login registry.infra.mintel.me -u "${{ secrets.REGISTRY_USERNAME }}" --password-stdin
|
||||||
|
|
||||||
- name: 🏗️ Build and Push
|
- name: 🏗️ Build and Push
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
docker buildx build \
|
docker buildx build \
|
||||||
--pull \
|
--pull \
|
||||||
@@ -189,6 +193,7 @@ jobs:
|
|||||||
image: catthehacker/ubuntu:act-latest
|
image: catthehacker/ubuntu:act-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Notify Gotify
|
- name: Notify Gotify
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
STATUS="${{ needs.deploy.result }}"
|
STATUS="${{ needs.deploy.result }}"
|
||||||
COLOR="info"
|
COLOR="info"
|
||||||
|
|||||||
Reference in New Issue
Block a user