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: push image to GHCR for pull_request event #4588

Merged
merged 1 commit into from
Sep 20, 2023
Merged

Conversation

wan92hen
Copy link
Collaborator

What type of PR is this?

What this PR does / why we need it:

对于 Pull Request 触发的 Action 构建得到的镜像也 Push 到 GHCR 仓库中,并使用 pr-{PR编号} 格式的标签。
依赖 halo-sigs/actions#18

Which issue(s) this PR fixes:

Close #4315

Special notes for your reviewer:

Does this PR introduce a user-facing change?

NONE

@f2c-ci-robot f2c-ci-robot bot added the release-note-none Denotes a PR that doesn't merit a release note. label Sep 11, 2023
@JohnNiang JohnNiang closed this Sep 11, 2023
@JohnNiang JohnNiang reopened this Sep 11, 2023
@codecov
Copy link

codecov bot commented Sep 11, 2023

Codecov Report

Merging #4588 (32d2def) into main (e13563b) will increase coverage by 0.09%.
Report is 4 commits behind head on main.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main    #4588      +/-   ##
============================================
+ Coverage     61.04%   61.14%   +0.09%     
- Complexity     2566     2580      +14     
============================================
  Files           374      374              
  Lines         13168    13221      +53     
  Branches        938      944       +6     
============================================
+ Hits           8039     8084      +45     
- Misses         4676     4684       +8     
  Partials        453      453              

see 1 file with indirect coverage changes

@JohnNiang JohnNiang closed this Sep 20, 2023
@JohnNiang JohnNiang reopened this Sep 20, 2023
Copy link
Member

@JohnNiang JohnNiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@f2c-ci-robot f2c-ci-robot bot added the lgtm Indicates that a PR is ready to be merged. label Sep 20, 2023
@f2c-ci-robot
Copy link

f2c-ci-robot bot commented Sep 20, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: JohnNiang

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@f2c-ci-robot f2c-ci-robot bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 20, 2023
@JohnNiang JohnNiang merged commit 7de97e4 into halo-dev:main Sep 20, 2023
8 checks passed
f2c-ci-robot bot pushed a commit that referenced this pull request Nov 16, 2023
Reverts #4588

According to https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions#using-secrets-in-a-workflow, we cannot obtain secrets in pull requests, so that we are not able to push docker image for every pull request.

```release-note
None
```
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. release-note-none Denotes a PR that doesn't merit a release note.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

将 PR 构建出的镜像 push 到镜像仓库
2 participants