diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c3f3274f..6df8d8af 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,7 +7,8 @@ on: - develop - beta - stable - - 'v*.*.*' + - "v*.*.*" + - test-ima-predeployed jobs: build: @@ -17,37 +18,37 @@ jobs: DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} steps: - - uses: actions/checkout@v2 - with: - submodules: true - - name: Set up Python 3.11 - uses: actions/setup-python@v1 - with: - python-version: 3.11 - - name: Build and publish container - run: | - export BRANCH=${GITHUB_REF##*/} - export VERSION=$(cat VERSION) - echo "Branch: $BRANCH" - echo "Base version: $VERSION" - export VERSION=$(bash ./helper-scripts/calculate_version.sh) - echo "VERSION=$VERSION" >> $GITHUB_ENV - echo "Version $VERSION" - export RELEASE=true - ( test $BRANCH = "stable" && export PRERELEASE=false ) || export PRERELEASE=true - echo "PRERELEASE=$PRERELEASE" >> $GITHUB_ENV - echo "RELEASE=$RELEASE" >> $GITHUB_ENV - export CONTAINER_NAME="admin" - bash ./helper-scripts/build_and_publish.sh - - name: Checkout code - uses: actions/checkout@master - - name: Create Release - id: create_release - uses: actions/create-release@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - tag_name: ${{ env.VERSION }} - release_name: ${{ env.VERSION }} - draft: false - prerelease: ${{ env.PRERELEASE }} + - uses: actions/checkout@v2 + with: + submodules: true + - name: Set up Python 3.11 + uses: actions/setup-python@v1 + with: + python-version: 3.11 + - name: Build and publish container + run: | + export BRANCH=${GITHUB_REF##*/} + export VERSION=$(cat VERSION) + echo "Branch: $BRANCH" + echo "Base version: $VERSION" + export VERSION=$(bash ./helper-scripts/calculate_version.sh) + echo "VERSION=$VERSION" >> $GITHUB_ENV + echo "Version $VERSION" + export RELEASE=true + ( test $BRANCH = "stable" && export PRERELEASE=false ) || export PRERELEASE=true + echo "PRERELEASE=$PRERELEASE" >> $GITHUB_ENV + echo "RELEASE=$RELEASE" >> $GITHUB_ENV + export CONTAINER_NAME="admin" + bash ./helper-scripts/build_and_publish.sh + - name: Checkout code + uses: actions/checkout@master + - name: Create Release + id: create_release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag_name: ${{ env.VERSION }} + release_name: ${{ env.VERSION }} + draft: false + prerelease: ${{ env.PRERELEASE }} diff --git a/requirements.txt b/requirements.txt index f0406e34..f8814e09 100644 --- a/requirements.txt +++ b/requirements.txt @@ -11,7 +11,7 @@ python-iptables==1.0.1 skale.py==6.4b1 requests==2.31 -ima-predeployed==2.1.0b0 +ima-predeployed==1.1.3.dev986160034603965919 etherbase-predeployed==1.1.0b3 marionette-predeployed==2.0.0b2 config-controller-predeployed==1.1.0