|
11 | 11 | GOLANG_VERSION: ${{ vars.GOLANG_VERSION }} |
12 | 12 | GOPROXY: ${{ secrets.GOPROXY }} |
13 | 13 | SOURCE_REPO: ${{ secrets.SOURCE_REPO }} |
| 14 | + BASE_IMAGES_VERSION: "v0.4.3" |
14 | 15 |
|
15 | 16 | on: |
16 | 17 | push: |
17 | 18 | tags: |
18 | | - - '**' |
| 19 | + - "**" |
19 | 20 |
|
20 | 21 | jobs: |
21 | 22 | prod_ce_setup_build: |
|
36 | 37 | name: Show vars |
37 | 38 |
|
38 | 39 | - uses: actions/checkout@v4 |
| 40 | + |
| 41 | + - name: Download base images |
| 42 | + run: | |
| 43 | + wget https://fox.flant.com/api/v4/projects/deckhouse%2Fbase-images/packages/generic/base_images/$BASE_IMAGES_VERSION/base_images.yml -O base_images.yml |
| 44 | + cat base_images.yml |
| 45 | +
|
39 | 46 | - uses: deckhouse/modules-actions/setup@v2 |
40 | 47 | with: |
41 | 48 | registry: ${{ vars.PROD_REGISTRY }} |
|
71 | 78 | name: Show vars |
72 | 79 |
|
73 | 80 | - uses: actions/checkout@v4 |
| 81 | + |
| 82 | + - name: Download base images |
| 83 | + run: | |
| 84 | + wget https://fox.flant.com/api/v4/projects/deckhouse%2Fbase-images/packages/generic/base_images/$BASE_IMAGES_VERSION/base_images.yml -O base_images.yml |
| 85 | + cat base_images.yml |
| 86 | +
|
74 | 87 | - uses: deckhouse/modules-actions/setup@v2 |
75 | 88 | with: |
76 | 89 | registry: ${{ vars.PROD_REGISTRY }} |
@@ -106,6 +119,12 @@ jobs: |
106 | 119 | name: Show vars |
107 | 120 |
|
108 | 121 | - uses: actions/checkout@v4 |
| 122 | + |
| 123 | + - name: Download base images |
| 124 | + run: | |
| 125 | + wget https://fox.flant.com/api/v4/projects/deckhouse%2Fbase-images/packages/generic/base_images/$BASE_IMAGES_VERSION/base_images.yml -O base_images.yml |
| 126 | + cat base_images.yml |
| 127 | +
|
109 | 128 | - uses: deckhouse/modules-actions/setup@v2 |
110 | 129 | with: |
111 | 130 | registry: ${{ vars.PROD_REGISTRY }} |
@@ -141,6 +160,12 @@ jobs: |
141 | 160 | name: Show vars |
142 | 161 |
|
143 | 162 | - uses: actions/checkout@v4 |
| 163 | + |
| 164 | + - name: Download base images |
| 165 | + run: | |
| 166 | + wget https://fox.flant.com/api/v4/projects/deckhouse%2Fbase-images/packages/generic/base_images/$BASE_IMAGES_VERSION/base_images.yml -O base_images.yml |
| 167 | + cat base_images.yml |
| 168 | +
|
144 | 169 | - uses: deckhouse/modules-actions/setup@v2 |
145 | 170 | with: |
146 | 171 | registry: ${{ vars.PROD_REGISTRY }} |
@@ -176,6 +201,12 @@ jobs: |
176 | 201 | name: Show vars |
177 | 202 |
|
178 | 203 | - uses: actions/checkout@v4 |
| 204 | + |
| 205 | + - name: Download base images |
| 206 | + run: | |
| 207 | + wget https://fox.flant.com/api/v4/projects/deckhouse%2Fbase-images/packages/generic/base_images/$BASE_IMAGES_VERSION/base_images.yml -O base_images.yml |
| 208 | + cat base_images.yml |
| 209 | +
|
179 | 210 | - uses: deckhouse/modules-actions/setup@v2 |
180 | 211 | with: |
181 | 212 | registry: ${{ vars.PROD_REGISTRY }} |
|
0 commit comments