|
|
@ -52,7 +52,7 @@ jobs: |
|
|
|
- name: Get Docker Repository |
|
|
|
- name: Get Docker Repository |
|
|
|
id: get-docker-repository |
|
|
|
id: get-docker-repository |
|
|
|
run: | |
|
|
|
run: | |
|
|
|
DOCKER_REPOSITORY=nocodb |
|
|
|
DOCKER_REPOSITORY=nocodb-daily |
|
|
|
DOCKER_BUILD_TAG=${{ github.event.inputs.tag || inputs.tag }} |
|
|
|
DOCKER_BUILD_TAG=${{ github.event.inputs.tag || inputs.tag }} |
|
|
|
DOCKER_BUILD_LATEST_TAG=latest |
|
|
|
DOCKER_BUILD_LATEST_TAG=latest |
|
|
|
if [[ "$DOCKER_BUILD_TAG" =~ "-beta." ]]; then |
|
|
|
if [[ "$DOCKER_BUILD_TAG" =~ "-beta." ]]; then |
|
|
@ -108,6 +108,15 @@ jobs: |
|
|
|
# remove bundled libraries (nocodb-sdk, knex-snowflake) |
|
|
|
# remove bundled libraries (nocodb-sdk, knex-snowflake) |
|
|
|
pnpm uninstall --save-prod nocodb-sdk |
|
|
|
pnpm uninstall --save-prod nocodb-sdk |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Update version in package.json |
|
|
|
|
|
|
|
run: | |
|
|
|
|
|
|
|
# update package.json |
|
|
|
|
|
|
|
cd packages/nocodb && |
|
|
|
|
|
|
|
jq --arg VERSION "$VERSION" '.version = $VERSION' package.json > tmp.json && |
|
|
|
|
|
|
|
mv tmp.json package.json |
|
|
|
|
|
|
|
env: |
|
|
|
|
|
|
|
VERSION: ${{ steps.get-docker-repository.outputs.DOCKER_BUILD_TAG }} |
|
|
|
|
|
|
|
|
|
|
|
- name: Set up QEMU |
|
|
|
- name: Set up QEMU |
|
|
|
uses: docker/setup-qemu-action@v2.1.0 |
|
|
|
uses: docker/setup-qemu-action@v2.1.0 |
|
|
|
|
|
|
|
|
|
|
@ -137,7 +146,7 @@ jobs: |
|
|
|
platforms: linux/amd64,linux/arm64,linux/arm/v7 |
|
|
|
platforms: linux/amd64,linux/arm64,linux/arm/v7 |
|
|
|
cache-from: type=local,src=/tmp/.buildx-cache |
|
|
|
cache-from: type=local,src=/tmp/.buildx-cache |
|
|
|
cache-to: type=local,dest=/tmp/.buildx-cache-new |
|
|
|
cache-to: type=local,dest=/tmp/.buildx-cache-new |
|
|
|
push: false |
|
|
|
push: true |
|
|
|
tags: | |
|
|
|
tags: | |
|
|
|
nocodb/${{ steps.get-docker-repository.outputs.DOCKER_REPOSITORY }}:${{ steps.get-docker-repository.outputs.DOCKER_BUILD_TAG }} |
|
|
|
nocodb/${{ steps.get-docker-repository.outputs.DOCKER_REPOSITORY }}:${{ steps.get-docker-repository.outputs.DOCKER_BUILD_TAG }} |
|
|
|
nocodb/${{ steps.get-docker-repository.outputs.DOCKER_REPOSITORY }}:${{ steps.get-docker-repository.outputs.DOCKER_BUILD_LATEST_TAG }} |
|
|
|
nocodb/${{ steps.get-docker-repository.outputs.DOCKER_REPOSITORY }}:${{ steps.get-docker-repository.outputs.DOCKER_BUILD_LATEST_TAG }} |
|
|
|