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

[CI] Run the "Docker Push" step only on the main branch #36220

Closed
kou opened this issue Jun 21, 2023 · 0 comments · Fixed by #36221
Closed

[CI] Run the "Docker Push" step only on the main branch #36220

kou opened this issue Jun 21, 2023 · 0 comments · Fixed by #36221

Comments

@kou
Copy link
Member

kou commented Jun 21, 2023

Describe the enhancement requested

We want to cache only images that are built on the main branch.

We don't need to cache images that are built on other branches such as branches created by Dependabot.

Component(s)

Continuous Integration

kou added a commit to kou/arrow that referenced this issue Jun 21, 2023
We want to cache only images that are built on the main branch.

We don't need to cache images that are built on other branches such as
branches created by Dependabot.
assignUser pushed a commit that referenced this issue Jun 22, 2023
…6221)

### Rationale for this change

We want to cache only images that are built on the main branch.

We don't need to cache images that are built on other branches such as branches created by Dependabot.

### What changes are included in this PR?

Add a branch name check.

### Are these changes tested?

No.

### Are there any user-facing changes?

No.
* Closes: #36220

Authored-by: Sutou Kouhei <kou@clear-code.com>
Signed-off-by: Jacob Wujciak-Jens <jacob@wujciak.de>
@assignUser assignUser added this to the 13.0.0 milestone Jun 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants