Skip to content

Commit 21e0276

Browse files
committed
ci: rename main branch vlp3 and update cache & publish locations
1 parent 09fd8ce commit 21e0276

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/build.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ name: build
22

33
on:
44
push:
5-
branches: [ "main" ]
5+
branches: [ "develop-vlp3" ]
66
pull_request:
7-
branches: [ "main" ]
7+
branches: [ "develop-vlp3" ]
88
schedule:
99
- cron: "0 0 * * 5"
1010
# Allows you to run this workflow manually from the Actions tab
@@ -43,7 +43,7 @@ jobs:
4343
with:
4444
context: docker
4545
push: true
46-
tags: ciserver.ci:5000/${{ github.repository_id }}:latest
46+
tags: ciserver.ci:5000/${{ github.repository_id }}/develop-vlp3:latest
4747
cache-from: type=registry,ref=ciserver.ci:5000/${{ github.repository_id }}:cache
4848
cache-to: type=registry,ref=ciserver.ci:5000/${{ github.repository_id }}:cache,mode=max
4949
file: docker/Dockerfile
@@ -52,7 +52,7 @@ jobs:
5252
needs: prepare_container
5353
runs-on: self-hosted
5454
container:
55-
image: ciserver.ci:5000/${{ github.repository_id }}:latest
55+
image: ciserver.ci:5000/${{ github.repository_id }}/develop-vlp3:latest
5656
credentials:
5757
username: ${{ secrets.CI_CACHE_REGISTRY_LOGIN }}
5858
password: ${{ secrets.CI_CACHE_REGISTRY_PASSWORD }}
@@ -75,7 +75,7 @@ jobs:
7575
secretKey: ${{ secrets.CI_CACHE_MINIO_SECRET }}
7676
bucket: cicache
7777
use-fallback: false
78-
key: ${{ github.repository }}
78+
key: ${{ github.repository }}/develop-vlp3
7979
path: build/cache/cicache
8080

8181
- name: Get build tag
@@ -136,7 +136,7 @@ jobs:
136136
secretKey: ${{ secrets.CI_CACHE_MINIO_SECRET }}
137137
bucket: cicache
138138
use-fallback: false
139-
key: ${{ github.repository }}
139+
key: ${{ github.repository }}/develop-vlp3
140140
path: build/cache/cicache
141141

142142
- name: Prepare mirror
@@ -193,7 +193,7 @@ jobs:
193193
aws_bucket: ${{ secrets.IMAGES_S3_BUCKET }}
194194
endpoint: ${{ secrets.IMAGES_S3_HOST }}
195195
source_dir: debian
196-
destination_dir: RZ/Debian/${{ needs.build_images.outputs.build_tag }}
196+
destination_dir: RZ/Debian/vlp3/${{ needs.build_images.outputs.build_tag }}
197197

198198
- name: Upload Buildroot to S3
199199
uses: shallwefootball/upload-s3-action@v1.3.3
@@ -203,4 +203,4 @@ jobs:
203203
aws_bucket: ${{ secrets.IMAGES_S3_BUCKET }}
204204
endpoint: ${{ secrets.IMAGES_S3_HOST }}
205205
source_dir: buildroot
206-
destination_dir: RZ/Buildroot/${{ needs.build_images.outputs.build_tag }}
206+
destination_dir: RZ/Buildroot/vlp3/${{ needs.build_images.outputs.build_tag }}

0 commit comments

Comments
 (0)