Skip to content

Commit 83e4f9f

Browse files
authored
- change harbor image name (#453)
1 parent 19668c0 commit 83e4f9f

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

.github/workflows/deploy-to-beta-manually.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ jobs:
1616
env:
1717
DOCKER_REGISTRY: registry.blumilk.pl
1818
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
2021
steps:
2122
- name: set branch name
2223
run: echo "BRANCH_NAME=$GITHUB_REF_NAME" >> $GITHUB_ENV
@@ -47,15 +48,15 @@ jobs:
4748
password: ${{ secrets.BLUMILKBOT_HARBOR_TOKEN }}
4849

4950
- 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
5152

5253
- name: Docker meta
5354
id: meta
5455
uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1
5556
with:
5657
images: ${{ env.DOCKER_IMAGE_NAME }}
5758
tags: type=raw,value=beta
58-
context: git
59+
context: workflow
5960

6061
- name: build and push image
6162
uses: docker/build-push-action@2cdde995de11925a030ce8070c3d77a52ffcf1c0 # v5.3.0

.github/workflows/deploy-to-prod.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ jobs:
1717
env:
1818
DOCKER_REGISTRY: registry.blumilk.pl
1919
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
2122
steps:
2223
- name: checkout
2324
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
@@ -36,7 +37,7 @@ jobs:
3637
password: ${{ secrets.BLUMILKBOT_HARBOR_TOKEN }}
3738

3839
- 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
4041

4142
- name: Docker meta
4243
id: meta

environment/prod/deployment/beta/docker-compose.beta.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ volumes:
1414

1515
services:
1616
toby-beta-app:
17-
image: registry.blumilk.pl/toby/toby:beta
17+
image: registry.blumilk.pl/internal-public/toby:beta
1818
container_name: toby-beta-app
1919
pull_policy: always
2020
deploy:

environment/prod/deployment/prod/docker-compose.prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ volumes:
1717

1818
services:
1919
toby-prod-app:
20-
image: registry.blumilk.pl/toby/toby:latest
20+
image: registry.blumilk.pl/internal-public/toby:latest
2121
container_name: toby-prod-app
2222
pull_policy: always
2323
deploy:

readme.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,11 @@ Application will be running under [localhost:8751](localhost:8751) and [http://t
3939
App images will be accessible under the following tags:
4040

4141
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`
4543

4644
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)
4947

5048

5149
### Further reading

renovate.json5

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"Blusia", // Agnieszka Rudek
88
],
99
"ignoreDeps": [
10-
"registry.blumilk.pl/toby/toby",
10+
"registry.blumilk.pl/internal-public/toby",
1111
],
1212
"packageRules": [
1313
{

0 commit comments

Comments
 (0)