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

Makefile: fix definition of PLATFORMS variable #240

Merged
merged 1 commit into from
Mar 20, 2024

Conversation

tklauser
Copy link
Member

Otherwise the build will fail if PLATFORMS is not defined on make invocation.

Fixes: 0ee97a0 ("Allow users to overwrite build platforms")

Otherwise the build will fail if PLATFORMS is not defined on make
invocation.

Fixes: 0ee97a0 ("Allow users to overwrite build platforms")

Signed-off-by: Tobias Klauser <[email protected]>
@tklauser tklauser requested a review from a team as a code owner March 20, 2024 18:11
@tklauser tklauser requested a review from borkmann March 20, 2024 18:11
@tklauser tklauser mentioned this pull request Mar 20, 2024
@tklauser tklauser merged commit f7ed22c into master Mar 20, 2024
1 check passed
@tklauser tklauser deleted the pr/tklauser/platfroms-fix-var-def branch March 20, 2024 19:48
tklauser added a commit that referenced this pull request Mar 21, 2024
Currently images are only built (and pushed) on pushes to the master
branch, i.e. once the PR is merged. This can lead to situations where
the image build is broken by a PR but the breakage is only caught later
on, see e.g. [1] and [2].

Fix this by also building the images on PRs but only push them to the
registry for master pushes as previously.

[1] #233 (comment)
[2] #240

Signed-off-by: Tobias Klauser <[email protected]>
tklauser added a commit that referenced this pull request Mar 21, 2024
Currently images are only built (and pushed) on pushes to the master
branch, i.e. once the PR is merged. This can lead to situations where
the image build is broken by a PR but the breakage is only caught later
on, see e.g. [1] and [2].

Fix this by also building the images on PRs but only push them to the
registry for master pushes as previously.

[1] #233 (comment)
[2] #240

Signed-off-by: Tobias Klauser <[email protected]>
tklauser added a commit that referenced this pull request Mar 21, 2024
Currently images are only built (and pushed) on pushes to the master
branch, i.e. once the PR is merged. This can lead to situations where
the image build is broken by a PR but the breakage is only caught later
on, see e.g. [1] and [2].

Fix this by also building the images on PRs but only push them to the
registry for master pushes as previously.

[1] #233 (comment)
[2] #240

Signed-off-by: Tobias Klauser <[email protected]>
tklauser added a commit that referenced this pull request Mar 21, 2024
Currently images are only built (and pushed) on pushes to the master
branch, i.e. once the PR is merged. This can lead to situations where
the image build is broken by a PR but the breakage is only caught later
on, see e.g. [1] and [2].

Fix this by also building the images on PRs but only push them to the
registry for master pushes as previously.

[1] #233 (comment)
[2] #240

Signed-off-by: Tobias Klauser <[email protected]>
tklauser added a commit that referenced this pull request Mar 21, 2024
Currently images are only built (and pushed) on pushes to the master
branch, i.e. once the PR is merged. This can lead to situations where
the image build is broken by a PR but the breakage is only caught later
on, see e.g. [1] and [2].

Fix this by also building the images on PRs but only push them to the
registry for master pushes as previously.

[1] #233 (comment)
[2] #240

Signed-off-by: Tobias Klauser <[email protected]>
tklauser added a commit that referenced this pull request Mar 22, 2024
Currently images are only built (and pushed) on pushes to the master
branch, i.e. once the PR is merged. This can lead to situations where
the image build is broken by a PR but the breakage is only caught later
on, see e.g. [1] and [2].

Fix this by also building the images on PRs but only push them to the
registry for master pushes as previously.

[1] #233 (comment)
[2] #240

Signed-off-by: Tobias Klauser <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants