-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CI that tests building the docker images
- Loading branch information
1 parent
602f83d
commit a4e673a
Showing
2 changed files
with
34 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
name: Build containers | ||
|
||
on: | ||
push: | ||
pull_request: | ||
|
||
jobs: | ||
get_json_versions: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Fetch versions to work for images | ||
- uses: actions/checkout@v2 | ||
- name: Set up Python 3.8 | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
- id: set-versions | ||
run: echo "::set-output name=versions::$(./get_json_versions.py)" | ||
|
||
outputs: | ||
versions: ${{ steps.set-versions.outputs.versions }} | ||
|
||
build_images: | ||
runs-on: ubuntu-latest | ||
needs: publish_base | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ps-version: ${{ fromJson(needs.get_json_versions.outputs.versions) }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Build Docker image | ||
run: docker build --quiet=true images/${version} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters