Skip to content

Commit

Permalink
ci(main): delete registry dir for sealos cache images (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
cuisongliu authored Oct 3, 2024
1 parent 5e65c52 commit 2f62e43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ jobs:
go run gen/gen.go ghcr.io/${{ github.repository_owner }}/automq-operator:latest && make info
cd deploy
IMAGE_NAME="ghcr.io/${{ github.repository_owner }}/automq-operator-sealos:latest"
sudo sealos build -t "${IMAGE_NAME}"-amd64 --platform linux/amd64 .
sudo sealos build -t "${IMAGE_NAME}"-arm64 --platform linux/arm64 .
sudo sealos build -t "${IMAGE_NAME}"-amd64 --platform linux/amd64 . && rm -rf registry
sudo sealos build -t "${IMAGE_NAME}"-arm64 --platform linux/arm64 . && rm -rf registry
sudo sealos login -u ${{ github.repository_owner }} -p ${{ secrets.GH_TOKEN }} --debug ghcr.io
sudo sealos push "${IMAGE_NAME}"-amd64
sudo sealos push "${IMAGE_NAME}"-arm64
Expand Down

0 comments on commit 2f62e43

Please sign in to comment.