You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2022/03/10 10:27:37 UTC
[camel-k] branch main updated: fix(ci): nightly build
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 ebf8da6 fix(ci): nightly build
ebf8da6 is described below
commit ebf8da67eb9fc605320a9574a8960c80f62ccb08
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Thu Mar 10 11:24:08 2022 +0100
fix(ci): nightly build
Fix the errors happening on the release action flow
---
.github/workflows/release.yml | 15 +++++++--------
1 file changed, 7 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 6d5bac5..f41caea 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -50,27 +50,26 @@ jobs:
TEST_DOCKER_HUB_PASSWORD: ${{ secrets.TEST_DOCKER_HUB_PASSWORD }}
run: |
TAG=${GITHUB_REF##*/}
- VERSION=${TAG:1}
- echo "Using VERSION=$VERSION"
- echo "::set-env name=VERSION::$VERSION"
+ echo "Using VERSION=$TAG"
+ echo "VERSION=$TAG" >> $GITHUB_ENV
IMAGE_NAME=docker.io/${TEST_DOCKER_HUB_USERNAME:-testcamelk}/camel-k
echo "Using IMAGE_NAME=$IMAGE_NAME"
- echo "::set-env name=IMAGE_NAME::$IMAGE_NAME"
+ echo "IMAGE_NAME=$IMAGE_NAME" >> $GITHUB_ENV
MAVEN_REPOSITORY=$(make get-staging-repo)
echo "Using MAVEN_REPOSITORY=$MAVEN_REPOSITORY"
- echo "::set-env name=MAVEN_REPOSITORY::$MAVEN_REPOSITORY"
+ echo "MAVEN_REPOSITORY=$MAVEN_REPOSITORY" >> $GITHUB_ENV
docker login -u $TEST_DOCKER_HUB_USERNAME -p $TEST_DOCKER_HUB_PASSWORD
-
+
- name: Codegen
run: |
- make VERSION=$VERSION IMAGE_NAME=$IMAGE_NAME codegen set-version build-resources
+ make VERSION=${{ env.VERSION }} IMAGE_NAME=${{ env.IMAGE_NAME }} codegen set-version build-resources
- name: Build
run: |
- make VERSION=$VERSION IMAGE_NAME=$IMAGE_NAME release-nightly
+ make VERSION=${{ env.VERSION }} IMAGE_NAME=${{ env.IMAGE_NAME }} release-nightly
- name: Check
run: ls -l