Add ci v1#10
Merged
Merged
Conversation
| run: sudo bash ./.github/scripts/install-sealos.sh | ||
|
|
||
| - name: Log in to GHCR | ||
| uses: docker/login-action@v3 |
| sudo sealos registry save --registry-dir=registry_${{ matrix.arch }} --arch ${{ matrix.arch }} . | ||
|
|
||
| - name: Set up Docker Buildx | ||
| uses: docker/setup-buildx-action@v3 |
|
|
||
| - name: Compute image metadata | ||
| id: meta | ||
| uses: docker/metadata-action@v5 |
| type=raw,value=latest-${{ matrix.arch }},enable=${{ github.ref_name == 'main' }} | ||
|
|
||
| - name: Build and push cluster image | ||
| uses: docker/build-push-action@v6 |
| - v1-cluster-image | ||
| steps: | ||
| - name: Set up Docker Buildx | ||
| uses: docker/setup-buildx-action@v3 |
| run: sudo bash ./.github/scripts/install-sealos.sh | ||
|
|
||
| - name: Log in to GHCR | ||
| uses: docker/login-action@v3 |
| sudo sealos registry save --registry-dir=registry_${{ matrix.arch }} --arch ${{ matrix.arch }} . | ||
|
|
||
| - name: Set up Docker Buildx | ||
| uses: docker/setup-buildx-action@v3 |
| uses: docker/setup-buildx-action@v3 | ||
|
|
||
| - name: Build and push cluster image | ||
| uses: docker/build-push-action@v6 |
| - v1-cluster-image | ||
| steps: | ||
| - name: Set up Docker Buildx | ||
| uses: docker/setup-buildx-action@v3 |
| uses: docker/setup-buildx-action@v3 | ||
|
|
||
| - name: Log in to GHCR | ||
| uses: docker/login-action@v3 |
| uses: actions/checkout@v5 | ||
|
|
||
| - name: Set up Docker Buildx | ||
| uses: docker/setup-buildx-action@v3 |
| echo "pr_tag=${PR_TAG}" >> "${GITHUB_OUTPUT}" | ||
|
|
||
| - name: Build image | ||
| uses: docker/build-push-action@v6 |
| uses: actions/checkout@v5 | ||
|
|
||
| - name: Set up Docker Buildx | ||
| uses: docker/setup-buildx-action@v3 |
| echo "pr_tag=${PR_TAG}" >> "${GITHUB_OUTPUT}" | ||
|
|
||
| - name: Build controller image | ||
| uses: docker/build-push-action@v6 |
| cache-to: type=gha,mode=max,scope=pr-devbox-v1-controller-${{ matrix.arch }} | ||
|
|
||
| - name: Build frontend image | ||
| uses: docker/build-push-action@v6 |
| sudo sealos registry save --registry-dir=registry_${{ matrix.arch }} --arch ${{ matrix.arch }} . | ||
|
|
||
| - name: Build cluster image | ||
| uses: docker/build-push-action@v6 |
| runner: ubuntu-24.04-arm | ||
| steps: | ||
| - name: Log in to GHCR | ||
| uses: docker/login-action@v3 |
| runner: ubuntu-24.04-arm | ||
| steps: | ||
| - name: Log in to GHCR | ||
| uses: docker/login-action@v3 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.