This is an automated email from the ASF dual-hosted git repository.

marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git


The following commit(s) were added to refs/heads/main by this push:
     new 12adc7ff env REGISTRY
12adc7ff is described below

commit 12adc7ffe0ffe2ac040b04d8ce20352222e3ffe7
Author: Marat Gubaidullin <ma...@talismancloud.io>
AuthorDate: Fri Sep 29 14:04:48 2023 -0400

    env REGISTRY
---
 .github/workflows/app.yml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/app.yml b/.github/workflows/app.yml
index 21ff39d4..34c97cbc 100644
--- a/.github/workflows/app.yml
+++ b/.github/workflows/app.yml
@@ -9,6 +9,7 @@ on:
     branches: [ main ]
 
 env:
+  REGISTRY: ${{ env.REGISTRY }}
   TAG: 4.0.1
 
 jobs:
@@ -59,7 +60,7 @@ jobs:
           -Dquarkus.quinoa.package-manager-install=false \
           -Dquarkus.container-image.build=true \
           -Dquarkus.container-image.push=true \
-          -Dquarkus.container-image.image=ghcr.io/${GITHUB_REPOSITORY}:${{ 
env.TAG }} \
+          -Dquarkus.container-image.image=${{ env.REGISTRY 
}}/${GITHUB_REPOSITORY}:${{ env.TAG }} \
           -Dquarkus.container-image.username=${{ github.actor }} \
           -Dquarkus.container-image.password=${{ secrets.GITHUB_TOKEN }}
         if: ${{ github.ref == 'refs/heads/main' }}
@@ -72,7 +73,7 @@ jobs:
       #     -Dquarkus.quinoa.package-manager-install=false \
       #     -Dquarkus.container-image.build=true \
       #     -Dquarkus.container-image.push=true \
-      #     
-Dquarkus.container-image.image=ghcr.io/${GITHUB_REPOSITORY}-basic:${{ env.TAG 
}} \
+      #     -Dquarkus.container-image.image=${{ env.REGISTRY 
}}/${GITHUB_REPOSITORY}-basic:${{ env.TAG }} \
       #     -Dquarkus.container-image.username=${{ github.actor }} \
       #     -Dquarkus.container-image.password=${{ secrets.GITHUB_TOKEN }}
       #   if: ${{ github.ref == 'refs/heads/main' }}
@@ -85,7 +86,7 @@ jobs:
       #     -Dquarkus.quinoa.package-manager-install=false \
       #     -Dquarkus.container-image.build=true \
       #     -Dquarkus.container-image.push=true \
-      #     
-Dquarkus.container-image.image=ghcr.io/${GITHUB_REPOSITORY}-oidc:${{ env.TAG 
}} \
+      #     -Dquarkus.container-image.image=${{ env.REGISTRY 
}}/${GITHUB_REPOSITORY}-oidc:${{ env.TAG }} \
       #     -Dquarkus.container-image.username=${{ github.actor }} \
       #     -Dquarkus.container-image.password=${{ secrets.GITHUB_TOKEN }}
       #   if: ${{ github.ref == 'refs/heads/main' }}

Reply via email to