■ ■ ■ ■ ■ ■
.github/workflows/sync.yml
| skipped 45 lines |
46 | 46 | | run: | |
47 | 47 | | skopeo sync --src docker --dest docker --dest-creds ${{ secrets.ALIYUN_USERNAME }}:${{ secrets.ALIYUN_PASSWORD }} docker.io/dvkunion/seamoon:${{github.ref_name}} ${{ matrix.registry }}/${{ matrix.repo }} |
48 | 48 | | skopeo sync --src docker --dest docker --dest-creds ${{ secrets.ALIYUN_USERNAME }}:${{ secrets.ALIYUN_PASSWORD }} docker.io/dvkunion/seamoon:latest ${{ matrix.registry }}/${{ matrix.repo }} |
49 | | - | |
50 | 49 | | package-tencent: |
51 | 50 | | name: package-tecent |
52 | 51 | | runs-on: ubuntu-20.04 |
| skipped 12 lines |
65 | 64 | | uswccr.ccs.tencentyun.com |
66 | 65 | | ] |
67 | 66 | | repo: [seamoon] |
68 | | - | include: |
69 | | - | - registry: ccr.ccs.tencentyun.com |
70 | | - | repo: [dvkunion] |
71 | 67 | | steps: |
72 | 68 | | - uses: actions/checkout@v4 |
73 | 69 | | - name: skopeo-copy |
74 | 70 | | run: | |
75 | 71 | | skopeo sync --src docker --dest docker --dest-creds ${{ secrets.TENCENT_USERNAME }}:${{ secrets.TENCENT_PASSWORD }} docker.io/dvkunion/seamoon:${{github.ref_name}} ${{ matrix.registry }}/${{ matrix.repo }} |
76 | 72 | | skopeo sync --src docker --dest docker --dest-creds ${{ secrets.TENCENT_USERNAME }}:${{ secrets.TENCENT_PASSWORD }} docker.io/dvkunion/seamoon:latest ${{ matrix.registry }}/${{ matrix.repo }} |
| 73 | + | package-tencent-inbound: |
| 74 | + | name: package-tecent-inbound |
| 75 | + | runs-on: ubuntu-20.04 |
| 76 | + | if: startsWith(github.ref, 'refs/tags/') |
| 77 | + | steps: |
| 78 | + | - uses: actions/checkout@v4 |
| 79 | + | - name: skopeo-copy |
| 80 | + | run: | |
| 81 | + | skopeo sync --src docker --dest docker --dest-creds ${{ secrets.TENCENT_USERNAME }}:${{ secrets.TENCENT_PASSWORD }} docker.io/dvkunion/seamoon:${{github.ref_name}} ccr.ccs.tencentyun.com/dvkunion |
| 82 | + | skopeo sync --src docker --dest docker --dest-creds ${{ secrets.TENCENT_USERNAME }}:${{ secrets.TENCENT_PASSWORD }} docker.io/dvkunion/seamoon:latest ccr.ccs.tencentyun.com/dvkunion |
77 | 83 | | |