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

dispatcher: honor heading args while processing FROM --platform #286

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

nalind
Copy link
Member

@nalind nalind commented Jun 20, 2024

When evaluating flag arguments to FROM instructions (currently that's just --platform=), also consider the values of ARGs defined in the heading (the part of the file before the first FROM instruction), as we do when evaluating the name of the base image or stage.

When evaluating flag arguments to FROM instructions (currently that's
just --platform=), also consider the values of ARGs defined in the
heading (the part of the file before the first FROM instruction), as we
do when evaluating the name of the base image or stage.

Signed-off-by: Nalin Dahyabhai <[email protected]>
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 20, 2024
Copy link
Contributor

openshift-ci bot commented Jun 20, 2024

@nalind: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@rhatdan
Copy link
Contributor

rhatdan commented Jun 21, 2024

LGTM
@flouthoc @giuseppe @TomSweeneyRedHat PTAL

@TomSweeneyRedHat
Copy link
Contributor

LGTM

@TomSweeneyRedHat
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jun 21, 2024
Copy link
Contributor

openshift-ci bot commented Jun 21, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: nalind, TomSweeneyRedHat

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:
  • OWNERS [TomSweeneyRedHat,nalind]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit 804a546 into openshift:master Jun 21, 2024
3 checks passed
@nalind nalind deleted the from-globals branch June 21, 2024 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants