File tree Expand file tree Collapse file tree 5 files changed +9
-0
lines changed
Expand file tree Collapse file tree 5 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 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,
Original file line number Diff line number Diff line change 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
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'
Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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}"
Original file line number Diff line number Diff 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/^.*://;')"
You can’t perform that action at this time.
0 commit comments