File tree Expand file tree Collapse file tree 6 files changed +13
-13
lines changed
environment/prod/deployment Expand file tree Collapse file tree 6 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 16
16
env :
17
17
DOCKER_REGISTRY : registry.blumilk.pl
18
18
DOCKER_REGISTRY_USER_NAME : robot@blumilkbot-harbor
19
- DOCKER_REGISTRY_PROJECT_NAME : ${{ github.event.repository.name }}
19
+ DOCKER_REGISTRY_PROJECT_NAME : internal-public
20
+ DOCKER_REGISTRY_REPO_NAME : toby
20
21
steps :
21
22
- name : set branch name
22
23
run : echo "BRANCH_NAME=$GITHUB_REF_NAME" >> $GITHUB_ENV
@@ -47,15 +48,15 @@ jobs:
47
48
password : ${{ secrets.BLUMILKBOT_HARBOR_TOKEN }}
48
49
49
50
- name : set docker image name
50
- run : echo "DOCKER_IMAGE_NAME=${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_REGISTRY_PROJECT_NAME }}/${{ env.DOCKER_REGISTRY_PROJECT_NAME }}" >> $GITHUB_ENV
51
+ run : echo "DOCKER_IMAGE_NAME=${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_REGISTRY_PROJECT_NAME }}/${{ env.DOCKER_REGISTRY_REPO_NAME }}" >> $GITHUB_ENV
51
52
52
53
- name : Docker meta
53
54
id : meta
54
55
uses : docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1
55
56
with :
56
57
images : ${{ env.DOCKER_IMAGE_NAME }}
57
58
tags : type=raw,value=beta
58
- context : git
59
+ context : workflow
59
60
60
61
- name : build and push image
61
62
uses : docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0
Original file line number Diff line number Diff line change 17
17
env :
18
18
DOCKER_REGISTRY : registry.blumilk.pl
19
19
DOCKER_REGISTRY_USER_NAME : robot@blumilkbot-harbor
20
- DOCKER_REGISTRY_PROJECT_NAME : ${{ github.event.repository.name }}
20
+ DOCKER_REGISTRY_PROJECT_NAME : internal-public
21
+ DOCKER_REGISTRY_REPO_NAME : toby
21
22
steps :
22
23
- name : checkout
23
24
uses : actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
36
37
password : ${{ secrets.BLUMILKBOT_HARBOR_TOKEN }}
37
38
38
39
- name : set docker image name
39
- run : echo "DOCKER_IMAGE_NAME=${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_REGISTRY_PROJECT_NAME }}/${{ env.DOCKER_REGISTRY_PROJECT_NAME }}" >> $GITHUB_ENV
40
+ run : echo "DOCKER_IMAGE_NAME=${{ env.DOCKER_REGISTRY }}/${{ env.DOCKER_REGISTRY_PROJECT_NAME }}/${{ env.DOCKER_REGISTRY_REPO_NAME }}" >> $GITHUB_ENV
40
41
41
42
- name : Docker meta
42
43
id : meta
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ volumes:
14
14
15
15
services :
16
16
toby-beta-app :
17
- image : registry.blumilk.pl/toby /toby:beta
17
+ image : registry.blumilk.pl/internal-public /toby:beta
18
18
container_name : toby-beta-app
19
19
pull_policy : always
20
20
deploy :
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ volumes:
17
17
18
18
services :
19
19
toby-prod-app :
20
- image : registry.blumilk.pl/toby /toby:latest
20
+ image : registry.blumilk.pl/internal-public /toby:latest
21
21
container_name : toby-prod-app
22
22
pull_policy : always
23
23
deploy :
Original file line number Diff line number Diff line change @@ -39,13 +39,11 @@ Application will be running under [localhost:8751](localhost:8751) and [http://t
39
39
App images will be accessible under the following tags:
40
40
41
41
Beta:
42
- - ` registry.blumilk.pl/toby/toby:beta `
43
-
44
- Production image will be accessible in the new registry since ` v1.2.1 ` tag.
42
+ - ` registry.blumilk.pl/internal-public/toby:beta `
45
43
46
44
Prod:
47
- - ` registry.blumilk.pl/toby /toby:latest `
48
- - ` registry.blumilk.pl/toby /toby:v1.2.3 ` (depends on releases/tags)
45
+ - ` registry.blumilk.pl/internal-public /toby:latest `
46
+ - ` registry.blumilk.pl/internal-public /toby:v1.2.3 ` (depends on releases/tags)
49
47
50
48
51
49
### Further reading
Original file line number Diff line number Diff line change 7
7
"Blusia" , // Agnieszka Rudek
8
8
] ,
9
9
"ignoreDeps" : [
10
- "registry.blumilk.pl/toby /toby" ,
10
+ "registry.blumilk.pl/internal-public /toby" ,
11
11
] ,
12
12
"packageRules" : [
13
13
{
You can’t perform that action at this time.
0 commit comments