Skip to content

Commit

Permalink
fix(ci): nightly build
Browse files Browse the repository at this point in the history
Fix the errors happening on the release action flow
  • Loading branch information
squakez committed Mar 10, 2022
1 parent 370b0c0 commit ebf8da6
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ebf8da6

Please sign in to comment.