mirror of
https://github.com/kubenetworks/kubevpn.git
synced 2025-12-24 11:51:13 +08:00
Revert "chore: add sync image to ccr.ccs.tencentyun.com (#636)"
This commit is contained in:
20
.github/workflows/release.yml
vendored
20
.github/workflows/release.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user