Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
linjinbao66 committed Apr 11, 2021
1 parent 5cae957 commit a0e1cd5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gcr.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: k8s image transfer
name: k8s image transfer to gcr
on: [push]
jobs:
transfer:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pkg.yaml → .github/workflows/ghcr.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: k8s image transfer
name: k8s image transfer to ghcr
on: [push]
jobs:
transfer:
name: transfer-pkg-image
name: transfer-ghcr-image
runs-on: ubuntu-latest
steps:
- name: docker-login
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/registry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ jobs:
with:
github-token: ${{ secrets.REGISTRY_TOKEN }}
image-name: gcr-image-transfer
image-tag: latest
image-tag: ${{ github.sha }}

3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

该项目用于同步gcr的镜像到官方docker hub中,其原理为利用github action提供的外网服务器拉去gcr镜像,然后重新打上标签,再推送到官方docker hub中。


2021-04-11 新增支持同步gcr到ghcr

## 使用方法

修改images中的内容
Expand Down

0 comments on commit a0e1cd5

Please sign in to comment.