Skip to content

Commit

Permalink
harbor migration
Browse files Browse the repository at this point in the history
  • Loading branch information
Hallgató Péter committed Mar 12, 2024
1 parent b3be69c commit a4f5ec4
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/release-develop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ on:
workflow_dispatch:

env:
DOCKER_REGISTRY_URL: 'registry.dev.intra.fph.hu'
DOCKER_REGISTRY_URL: 'harbor.dev.intra.fph.hu'
DOCKER_PHP_BUILD_FILE: 'k8s/php/Dockerfile'
DOCKER_NGINX_BUILD_FILE: 'k8s/nginx/Dockerfile'
DOCKER_PHP_IMAGE: 'docker/residential-meeting-admin-php'
DOCKER_NGINX_IMAGE: 'docker/residential-meeting-admin-nginx'
HELM_REPOSITORY_URL: 'nexus.dev.intra.fph.hu'
HELM_REPOSITORY_URL: 'harbor.dev.intra.fph.hu'
HELM_REPOSITORY_NAME: 'helm'
HELM_REPOSITORY_ALIAS: 'fph'
HELM_CHART_NAME: 'php-nginx'
Expand Down Expand Up @@ -54,15 +54,15 @@ jobs:
uses: actions/checkout@master

- name: Build image
uses: aevea/action-kaniko@master
uses: fphgov/action-kaniko@master
with:
image: ${{ env.DOCKER_PHP_IMAGE }}
build_file: ${{ env.DOCKER_PHP_BUILD_FILE }}
path: .
registry: ${{ env.DOCKER_REGISTRY_URL }}
extra_args: "--skip-tls-verify"
username: ${{ secrets.DEV_NEXUS_USER }}
password: ${{ secrets.DEV_NEXUS_PASSWD }}
username: ${{ secrets.DEV_HARBOR_USER }}
password: ${{ secrets.DEV_HARBOR_PASSWD }}
tag_with_latest: true
tag: ${{ needs.create-image-tag.outputs.imageTag }}

Expand All @@ -79,16 +79,16 @@ jobs:
uses: actions/checkout@master

- name: Build image
uses: aevea/action-kaniko@master
uses: fphgov/action-kaniko@master
with:
image: ${{ env.DOCKER_NGINX_IMAGE }}
build_file: ${{ env.DOCKER_NGINX_BUILD_FILE }}
path: .
target: app
registry: ${{ env.DOCKER_REGISTRY_URL }}
extra_args: "--skip-tls-verify"
username: ${{ secrets.DEV_NEXUS_USER }}
password: ${{ secrets.DEV_NEXUS_PASSWD }}
username: ${{ secrets.DEV_HARBOR_USER }}
password: ${{ secrets.DEV_HARBOR_PASSWD }}
tag_with_latest: true
tag: ${{ needs.create-image-tag.outputs.imageTag }}

Expand All @@ -105,13 +105,13 @@ jobs:
uses: actions/checkout@master

- name: Deploy
uses: 'fphgov/actions-helm-deploy@master'
uses: 'fphgov/actions-helm-deploy@harbor'
with:
helm_repository_url: ${{ env.HELM_REPOSITORY_URL }}
helm_repository_name: ${{ env.HELM_REPOSITORY_NAME }}
helm_repository_alias: ${{ env.HELM_REPOSITORY_ALIAS }}
helm_repository_user: ${{ secrets.DEV_NEXUS_USER }}
helm_repository_password: ${{ secrets.DEV_NEXUS_PASSWD }}
helm_repository_user: ${{ secrets.DEV_HARBOR_USER }}
helm_repository_password: ${{ secrets.DEV_HARBOR_PASSWD }}
helm_repository_insecure: 'true'
helm_chart: ${{ env.HELM_CHART_NAME }}
namespace: ${{ env.APP_NAMESPACE }}
Expand Down

0 comments on commit a4f5ec4

Please sign in to comment.