Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Docker Login not just for push? #116

Copy link
Copy link
@mathieu-benoit

Description

@mathieu-benoit
Issue body actions

Contributing guidelines

I've found a bug, and:

  • The documentation does not mention anything about my problem
  • There are no open or closed issues that are related to my problem

Description

In my Dockerfile, I have a base image in a private registry, I found out that even if I supply the secrets.registry-auths the Docker Login step is skipped because of if: ${{ inputs.push...: https://github.com/docker/github-builder/blob/main/.github/workflows/build.yml#L598.

I'm in a PR, with push: false.

Is that on purpose? Meaning we cannot build a container having base images in a private registry when we don't push?

Expected behaviour

It would be great to have the Docker Login with push: false.

Actual behaviour

Docker Login is skipped because push: false.

Repository URL

https://github.com/mathieu-benoit/deploy-backstage-with-score

Workflow run URL

https://github.com/mathieu-benoit/deploy-backstage-with-score/blob/dhi/.github/workflows/ci.yaml

YAML workflow

https://github.com/mathieu-benoit/deploy-backstage-with-score/blob/dhi/.github/workflows/ci.yaml
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.