Skip to content

Commit cfaa8e7

Browse files
committed
Specify shell in workflows
1 parent b1500d5 commit cfaa8e7

File tree

5 files changed

+9
-0
lines changed

5 files changed

+9
-0
lines changed

.github/workflows/automerge.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ jobs:
1616
env:
1717
RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }}
1818
if: env.RELEASE_TOKEN != ''
19+
shell: bash
1920
run: echo "${RELEASE_TOKEN}" | gh auth login --with-token
2021
- name: Enable auto-merge for Dependabot PRs
22+
shell: bash
2123
run: |
2224
# Checking the PR title is a poor substitute for the actual PR changes
2325
# but as long as this is used only with dependabot PRs,

.github/workflows/docker-build-push.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Set IMAGE
19+
shell: bash
1920
run: echo "IMAGE=${GITHUB_REPOSITORY#*/docker-}" >> "${GITHUB_ENV}"
2021
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2122
- uses: docker/setup-qemu-action@4574d27a4764455b42196d70a065bc6853246a25 # v3.4.0
@@ -31,6 +32,7 @@ jobs:
3132
type=sha
3233
- name: Test the Docker image
3334
working-directory: ${{ env.IMAGE }}
35+
shell: bash
3436
run: docker compose -f docker-compose.test.yml run sut
3537
- uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
3638
if: github.ref == 'refs/heads/main'

.github/workflows/docker-release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Set IMAGE
16+
shell: bash
1617
run: echo "IMAGE=${GITHUB_REPOSITORY#*/docker-}" >> "${GITHUB_ENV}"
1718
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1819
- uses: docker/setup-qemu-action@4574d27a4764455b42196d70a065bc6853246a25 # v3.4.0

.github/workflows/dockerhub.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ jobs:
1818
runs-on: ubuntu-latest
1919
steps:
2020
- name: Set IMAGE
21+
shell: bash
2122
run: echo "IMAGE=${GITHUB_REPOSITORY#*/docker-}" >> "${GITHUB_ENV}"
2223
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2324
- name: Pull the latest ${{ matrix.platform }} image
25+
shell: bash
2426
run: docker pull --platform "${{ matrix.platform }}" "${GITHUB_REPOSITORY_OWNER}/${IMAGE}"

.github/workflows/trigger-release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Set IMAGE
19+
shell: bash
1920
run: echo "IMAGE=${GITHUB_REPOSITORY#*/docker-}" >> "${GITHUB_ENV}"
2021
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2122
- name: Set VERSION
2223
if: github.ref == 'refs/heads/main'
24+
shell: bash
2325
run: |
2426
# shellcheck disable=SC2086
2527
VERSION="$(\grep ${IMAGE}/Dockerfile -e '^FROM' | \head -n 1 | \sed -e 's/@.*$//; s/^.*://;')"

0 commit comments

Comments
 (0)