Revert "chore: add sync image to ccr.ccs.tencentyun.com (#636)"

This commit is contained in:
naison
2025-06-10 21:29:42 +08:00
parent 507da8a44c
commit 423254b172

View File

@@ -19,21 +19,13 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install regctl
uses: regclient/actions/regctl-installer@main
with:
release: 'main'
- name: Push image to docker hub
run: |
echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USER }} --password-stdin
echo ${{ secrets.GITHUB_TOKEN }} | docker login ghcr.io -u ${{ github.actor }} --password-stdin
echo ${{ secrets.TENCENT_DOCKER_PASSWORD }} | docker login ccr.ccs.tencentyun.com -u ${{ secrets.TENCENT_DOCKER_USER }} --password-stdin
docker buildx create --use
make container
RELEASE_VERSION=${GITHUB_REF#refs/*/}
regctl image copy ghcr.io/kubenetworks/kubevpn:${RELEASE_VERSION} ccr.ccs.tencentyun.com/kubevpn/kubevpn:${RELEASE_VERSION}
regctl image copy ghcr.io/kubenetworks/kubevpn:${RELEASE_VERSION} ccr.ccs.tencentyun.com/kubevpn/kubevpn:latest
- name: Release Note
run: |
@@ -225,18 +217,10 @@ jobs:
--token "${{ secrets.CREATE_HELM_PR }}" \
--release-name-template "v{{ .Version }}" \
--index-path ./index.yaml \
--charts-repo https://github.com/$owner/$repo \
--pages-branch master \
--pages-index-path charts/index.yaml \
--push
./cr index \
--owner "$owner" \
--git-repo charts \
--token "${{ secrets.CREATE_HELM_PR }}" \
--release-name-template "v{{ .Version }}" \
--index-path ./index.yaml \
--pages-branch master \
--pages-index-path index.yaml \
--push
--pr
snapcraft:
runs-on: ubuntu-24.04