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

FIX [CI / Docker] Follow up from #1481 #1487

Merged
merged 36 commits into from
Mar 5, 2024
Merged
Changes from 1 commit
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
5f0602c
Update test-docker-build.yml
younesbelkada Feb 20, 2024
490113e
Update test-docker-build.yml
younesbelkada Feb 20, 2024
ea282d3
Update Dockerfile
younesbelkada Feb 20, 2024
6cfa521
Update test-docker-build.yml
younesbelkada Feb 20, 2024
1925cc5
Update test-docker-build.yml
younesbelkada Feb 20, 2024
e021a25
Update Dockerfile
younesbelkada Feb 20, 2024
ef6cd9c
Update .github/workflows/test-docker-build.yml
younesbelkada Feb 20, 2024
3ec603b
Update .github/workflows/test-docker-build.yml
younesbelkada Feb 20, 2024
42d6285
Update test-docker-build.yml
younesbelkada Feb 20, 2024
c2059b0
Update test-docker-build.yml
younesbelkada Feb 20, 2024
127353a
Update test-docker-build.yml
younesbelkada Feb 20, 2024
aec2045
Update test-docker-build.yml
younesbelkada Feb 20, 2024
e834b4b
Update test-docker-build.yml
younesbelkada Feb 20, 2024
7adf0f5
Update test-docker-build.yml
younesbelkada Feb 20, 2024
e7245ed
Update test-docker-build.yml
younesbelkada Feb 20, 2024
444ebd0
Update test-docker-build.yml
younesbelkada Feb 20, 2024
03e10f8
Update test-docker-build.yml
younesbelkada Feb 20, 2024
f4bac2e
Update test-docker-build.yml
younesbelkada Feb 20, 2024
68ae675
Update .github/workflows/test-docker-build.yml
younesbelkada Feb 20, 2024
9552ed9
Update Dockerfile
younesbelkada Feb 20, 2024
28610c0
Update test-docker-build.yml
younesbelkada Feb 20, 2024
f5c35d3
Update test-docker-build.yml
younesbelkada Feb 20, 2024
cbbab27
Update test-docker-build.yml
younesbelkada Feb 20, 2024
b3fbe06
Update test-docker-build.yml
younesbelkada Feb 20, 2024
ece7d2f
Update test-docker-build.yml
younesbelkada Feb 20, 2024
65ed5c1
Update test-docker-build.yml
younesbelkada Feb 20, 2024
66c329d
Update test-docker-build.yml
younesbelkada Feb 20, 2024
17efab4
Update test-docker-build.yml
younesbelkada Feb 20, 2024
8546048
Update test-docker-build.yml
younesbelkada Feb 20, 2024
5d6d86c
Update test-docker-build.yml
younesbelkada Feb 20, 2024
7c21f16
Update test-docker-build.yml
younesbelkada Feb 20, 2024
6fc6cdb
Update test-docker-build.yml
younesbelkada Feb 20, 2024
1cf4b19
Update test-docker-build.yml
younesbelkada Feb 20, 2024
7ec91b3
Update test-docker-build.yml
younesbelkada Feb 20, 2024
1672a34
revert
younesbelkada Feb 20, 2024
d633baf
Update .github/workflows/test-docker-build.yml
younesbelkada Feb 23, 2024
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
Prev Previous commit
Next Next commit
Update test-docker-build.yml
  • Loading branch information
younesbelkada authored Feb 20, 2024
commit 28610c07562423d3f7274cb1c69e1444ea3ad56c
15 changes: 5 additions & 10 deletions .github/workflows/test-docker-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: "Build all modified docker images"
runs-on: ubuntu-latest
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could use [intel-cpu, 8-cpu, ci] to avoid any potential disk full issue

outputs:
docker-matrix: ${{ steps.set-matrix.outputs.matrix }}
matrix: ${{ steps.set-matrix.outputs.matrix }}
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
Expand All @@ -35,15 +35,10 @@ jobs:
echo ${{ steps.changed-files.outputs.all_changed_files}}
echo "matrix=${{ steps.changed-files.outputs.all_changed_files}}" >> $GITHUB_OUTPUT
younesbelkada marked this conversation as resolved.
Show resolved Hide resolved
build_modified_files:
runs-on: ubuntu-latest
needs: get_changed_files
name: Build Docker images on modified files
runs-on: ubuntu-latest
strategy:
matrix:
docker-file: ${{ fromJSON(needs.get_changed_files.outputs.matrix) }} # https://docs.github.com/en/actions/learn-github-actions/expressions#example-returning-a-json-object
steps:
- name: Build Docker image
uses: docker/build-push-action@v4
with:
context: ${{ matrix.docker-file }}
push: False
- name: Print env variables
run: |
echo ${{ fromJSON(needs.get_changed_files.outputs.matrix) }}
Loading