|
1 | | -name: Release |
2 | | - |
3 | | -on: |
4 | | - push: |
5 | | - tags: |
6 | | - - '*' |
7 | | - |
8 | | -jobs: |
9 | | - docker-build-core: |
10 | | - name: Docker Build Core |
11 | | - runs-on: ubuntu-24.04 |
12 | | - steps: |
13 | | - # Docker image + Nix cache tends to be big, this avoids out of space issue |
14 | | - - name: Free Disk Space |
15 | | - uses: jlumbroso/free-disk-space@main |
16 | | - with: |
17 | | - tool-cache: false |
18 | | - |
19 | | - - name: Checkout repository |
20 | | - uses: actions/checkout@v4 |
21 | | - |
22 | | - - name: Set up Docker Buildx |
23 | | - uses: docker/setup-buildx-action@v3 |
24 | | - with: |
25 | | - platforms: linux/amd64,linux/arm64 |
26 | | - |
27 | | - - name: Login to GitHub Container Registry |
28 | | - uses: docker/login-action@v3 |
29 | | - with: |
30 | | - registry: ghcr.io |
31 | | - username: ${{ github.actor }} |
32 | | - password: ${{ secrets.GITHUB_TOKEN }} |
33 | | - |
34 | | - - name: Setup Nix |
35 | | - uses: nixbuild/nix-quick-install-action@v30 |
36 | | - |
37 | | - - name: Cache Nix |
38 | | - uses: nix-community/cache-nix-action@v6 |
39 | | - with: |
40 | | - primary-key: nix-${{ runner.os }} |
41 | | - restore-prefixes-first-match: nix-${{ runner.os }} |
42 | | - |
43 | | - - name: Build Core container image |
44 | | - run: CLOUDYPAD_BUILD_CORE_IMAGE_TAG=${GITHUB_REF_NAME#v} nix develop -c task build-core-container-release |
45 | | - |
46 | | - docker-build-sunshine: |
47 | | - name: Docker Build Sunshine |
48 | | - runs-on: ubuntu-24.04 |
49 | | - steps: |
50 | | - |
51 | | - # Docker image + Nix cache tends to be big, this avoids out of space issue |
52 | | - - name: Free Disk Space |
53 | | - uses: jlumbroso/free-disk-space@main |
54 | | - with: |
55 | | - tool-cache: false |
56 | | - |
57 | | - - name: Checkout repository |
58 | | - uses: actions/checkout@v4 |
59 | | - |
60 | | - - name: Set up Docker Buildx |
61 | | - uses: docker/setup-buildx-action@v3 |
62 | | - |
63 | | - - name: Login to GitHub Container Registry |
64 | | - uses: docker/login-action@v3 |
65 | | - with: |
66 | | - registry: ghcr.io |
67 | | - username: ${{ github.actor }} |
68 | | - password: ${{ secrets.GITHUB_TOKEN }} |
69 | | - |
70 | | - - name: Setup Nix |
71 | | - uses: nixbuild/nix-quick-install-action@v30 |
72 | | - |
73 | | - - name: Cache Nix |
74 | | - uses: nix-community/cache-nix-action@v6 |
75 | | - with: |
76 | | - primary-key: nix-${{ runner.os }} |
77 | | - restore-prefixes-first-match: nix-${{ runner.os }} |
78 | | - |
79 | | - - name: Build Sunshine container image |
80 | | - run: CLOUDYPAD_BUILD_SUNSHINE_IMAGE_TAG=${GITHUB_REF_NAME#v} nix develop -c task build-sunshine-container-release |
| 1 | +# name: Release |
| 2 | + |
| 3 | +# on: |
| 4 | +# push: |
| 5 | +# tags: |
| 6 | +# - '*' |
| 7 | + |
| 8 | +# jobs: |
| 9 | +# docker-build-core: |
| 10 | +# name: Docker Build Core |
| 11 | +# runs-on: ubuntu-24.04 |
| 12 | +# steps: |
| 13 | +# # Docker image + Nix cache tends to be big, this avoids out of space issue |
| 14 | +# - name: Free Disk Space |
| 15 | +# uses: jlumbroso/free-disk-space@main |
| 16 | +# with: |
| 17 | +# tool-cache: false |
| 18 | + |
| 19 | +# - name: Checkout repository |
| 20 | +# uses: actions/checkout@v4 |
| 21 | + |
| 22 | +# - name: Set up Docker Buildx |
| 23 | +# uses: docker/setup-buildx-action@v3 |
| 24 | +# with: |
| 25 | +# platforms: linux/amd64,linux/arm64 |
| 26 | + |
| 27 | +# - name: Login to GitHub Container Registry |
| 28 | +# uses: docker/login-action@v3 |
| 29 | +# with: |
| 30 | +# registry: ghcr.io |
| 31 | +# username: ${{ github.actor }} |
| 32 | +# password: ${{ secrets.GITHUB_TOKEN }} |
| 33 | + |
| 34 | +# - name: Setup Nix |
| 35 | +# uses: nixbuild/nix-quick-install-action@v30 |
| 36 | + |
| 37 | +# - name: Cache Nix |
| 38 | +# uses: nix-community/cache-nix-action@v6 |
| 39 | +# with: |
| 40 | +# primary-key: nix-${{ runner.os }} |
| 41 | +# restore-prefixes-first-match: nix-${{ runner.os }} |
| 42 | + |
| 43 | +# - name: Build Core container image |
| 44 | +# run: CLOUDYPAD_BUILD_CORE_IMAGE_TAG=${GITHUB_REF_NAME#v} nix develop -c task build-core-container-release |
| 45 | + |
| 46 | +# docker-build-sunshine: |
| 47 | +# name: Docker Build Sunshine |
| 48 | +# runs-on: ubuntu-24.04 |
| 49 | +# steps: |
| 50 | + |
| 51 | +# # Docker image + Nix cache tends to be big, this avoids out of space issue |
| 52 | +# - name: Free Disk Space |
| 53 | +# uses: jlumbroso/free-disk-space@main |
| 54 | +# with: |
| 55 | +# tool-cache: false |
| 56 | + |
| 57 | +# - name: Checkout repository |
| 58 | +# uses: actions/checkout@v4 |
| 59 | + |
| 60 | +# - name: Set up Docker Buildx |
| 61 | +# uses: docker/setup-buildx-action@v3 |
| 62 | + |
| 63 | +# - name: Login to GitHub Container Registry |
| 64 | +# uses: docker/login-action@v3 |
| 65 | +# with: |
| 66 | +# registry: ghcr.io |
| 67 | +# username: ${{ github.actor }} |
| 68 | +# password: ${{ secrets.GITHUB_TOKEN }} |
| 69 | + |
| 70 | +# - name: Setup Nix |
| 71 | +# uses: nixbuild/nix-quick-install-action@v30 |
| 72 | + |
| 73 | +# - name: Cache Nix |
| 74 | +# uses: nix-community/cache-nix-action@v6 |
| 75 | +# with: |
| 76 | +# primary-key: nix-${{ runner.os }} |
| 77 | +# restore-prefixes-first-match: nix-${{ runner.os }} |
| 78 | + |
| 79 | +# - name: Build Sunshine container image |
| 80 | +# run: CLOUDYPAD_BUILD_SUNSHINE_IMAGE_TAG=${GITHUB_REF_NAME#v} nix develop -c task build-sunshine-container-release |
0 commit comments