Skip to content

Commit

Permalink
Update release.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
stoneshi-yunify authored Feb 10, 2025
1 parent b803547 commit f2e575e
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ jobs:
- name: Image Registry Login
run: |
docker login --username ${{ secrets.DOCKER_HUB_USER }} --password ${{secrets.DOCKER_HUB_TOKEN}}
docker login ghcr.io --username yudong2015 --password ${{secrets.GH_PUBLISH_SECRETS}}
- name: Run GoReleaser
uses: goreleaser/goreleaser-action@v3
with:
Expand All @@ -47,18 +46,3 @@ jobs:
docker tag kubespheredev/ks-tool:v1.17.0-${ver} kubespheredev/ks-tool:latest
docker push kubespheredev/ks-tool:latest
- name: Build Registry Images
run: |
docker build build/registry -t ghcr.io/kubesphere-sigs/registry:local-2 \
--label org.opencontainers.image.source=https://github.com/kubesphere-sigs/ks
docker build build/registry --build-arg REMOTE_URL=https://registry-1.docker.io -t ghcr.io/kubesphere-sigs/registry:docker-2 \
--label org.opencontainers.image.source=https://github.com/kubesphere-sigs/ks
docker build build/registry --build-arg REMOTE_URL=https://quay.io -t ghcr.io/kubesphere-sigs/registry:quay-2 \
--label org.opencontainers.image.source=https://github.com/kubesphere-sigs/ks
docker build build/registry --build-arg REMOTE_URL=https://ghcr.io -t ghcr.io/kubesphere-sigs/registry:ghcr-2 \
--label org.opencontainers.image.source=https://github.com/kubesphere-sigs/ks
docker push ghcr.io/kubesphere-sigs/registry:local-2
docker push ghcr.io/kubesphere-sigs/registry:docker-2
docker push ghcr.io/kubesphere-sigs/registry:quay-2
docker push ghcr.io/kubesphere-sigs/registry:ghcr-2

0 comments on commit f2e575e

Please sign in to comment.