-
Notifications
You must be signed in to change notification settings - Fork 52
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
chore(docker): fix master CI by using debian:buster with no backports repo for gcc8 builder #337
Conversation
… repo for builder gcc8. Debian-buster backports repo is no more present upstream. Signed-off-by: Federico Di Pierro <[email protected]>
- 'docker/**' | ||
|
||
build-images-dev: | ||
needs: [build-test-dev,paths-filter] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reusable_build_push_images
workflow needs to download the built driverkit (for the driverkit main image), so we need to depend on build-test-dev
too.
uses: ./.github/workflows/reusable_build_push_images.yml | ||
with: | ||
arch: ${{ matrix.arch }} | ||
push: false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do not push.
Signed-off-by: Federico Di Pierro <[email protected]>
eb58aec
to
69e4fb6
Compare
@@ -18,18 +18,19 @@ jobs: | |||
arch: ${{ matrix.arch }} | |||
|
|||
push-images-master: | |||
needs: build-test-master |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved needs
at the top of the jobs.
with: | ||
arch: ${{ matrix.arch }} | ||
push: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added push: true
@@ -48,14 +53,20 @@ jobs: | |||
uses: docker/setup-buildx-action@f95db51fddba0c2d1ec667646a06c2ce06100226 # v3.0.0 | |||
|
|||
- name: Login to Docker Hub | |||
if: inputs.push |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to login if we are not going to push.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: FedeDP, LucaGuerra The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind bug
Any specific area of the project related to this PR?
/area build
What this PR does / why we need it:
Debian-buster backports repo is no more present upstream: https://github.com/falcosecurity/driverkit/actions/runs/8749618529/job/24013163670
Also, enable build-dev CI to test images build if
docker
folder was updated.Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: