Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow specifying Docker version in scala-ci #79

Merged
merged 2 commits into from
Jul 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/workflows/scala-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ on:
type: string
required: false
default: ""
docker_version:
description: Install a specific Docker version. Useful as a workaround for a `docker-it-scala` bug with Docker v26.
type: string
required: false
default: ""
secrets:
MAVEN_IRONCORELABS_COM_AWS_ACCESS_KEY_ID:
description: "AWS access key to access our s3 bucket for scala libs."
Expand Down Expand Up @@ -63,6 +68,11 @@ jobs:
repository: ${{ inputs.download_release_binary_repo }}
fileName: ${{ inputs.download_release_binary_name }}
latest: true
- name: Install specific Docker version
if: inputs.docker_version != ''
uses: docker-practice/actions-setup-docker@ccc771627519a0dc44b99c63f3ccf5fab1b1b9b8
with:
docker_version: ${{ inputs.docker_version }}
- name: Build and test
env:
MAVEN_IRONCORELABS_COM_AWS_ACCESS_KEY_ID: ${{ secrets.MAVEN_IRONCORELABS_COM_AWS_ACCESS_KEY_ID }}
Expand Down