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

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


The following commit(s) were added to refs/heads/main by this push:
     new a715a7e52 chore(ci): split image build from deploy
a715a7e52 is described below

commit a715a7e52426a29121196144c41959beaba74dc8
Author: Pasquale Congiusti <[email protected]>
AuthorDate: Wed Jun 7 10:12:03 2023 +0200

    chore(ci): split image build from deploy
---
 .github/actions/release-nightly/action.yml | 3 ++-
 script/Makefile                            | 6 +++++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/.github/actions/release-nightly/action.yml 
b/.github/actions/release-nightly/action.yml
index 777b5116d..4f4d4cb19 100644
--- a/.github/actions/release-nightly/action.yml
+++ b/.github/actions/release-nightly/action.yml
@@ -103,8 +103,9 @@ runs:
     - name: Build and release containers
       shell: bash
       run: |
+        make VERSION=${{ env.VERSION }} IMAGE_NAME=${{ env.IMAGE_NAME }} 
images-nightly
+        make IMAGE_ARCH=arm64 VERSION=${{ env.VERSION }} IMAGE_NAME=${{ 
env.IMAGE_NAME }} images-nightly
         make VERSION=${{ env.VERSION }} IMAGE_NAME=${{ env.IMAGE_NAME }} 
release-nightly
-        make IMAGE_ARCH=arm64 VERSION=${{ env.VERSION }} IMAGE_NAME=${{ 
env.IMAGE_NAME }} release-nightly
     - name: Create Release
       id: create_release
       uses: ncipollo/release-action@58ae73b360456532aafd58ee170c045abbeaee37
diff --git a/script/Makefile b/script/Makefile
index 94ba6b0e1..84246610c 100644
--- a/script/Makefile
+++ b/script/Makefile
@@ -495,7 +495,11 @@ release: clean codegen set-module-version set-version 
build-resources check-lice
 
 release-staging: clean codegen set-module-version set-version build-resources 
check-licenses images images-push-staging cross-compile fabric8-crds git-tag
 
-release-nightly: clean codegen set-module-version set-version build-resources 
images images-push cross-compile
+# Build images
+images-nightly: clean codegen set-module-version set-version build-resources 
images
+
+# Release artifacts
+release-nightly: cross-compile images-push
 
 release-helm:
        ./script/release_helm.sh

Reply via email to