diff --git a/.dockerignore b/.dockerignore index c477143a95..6a013a74d6 100644 --- a/.dockerignore +++ b/.dockerignore @@ -6,7 +6,7 @@ docs .idea .vscode dqoai/target -distribution/target +dqops/target lib/target home/venv dqoai/src/main/frontend/build diff --git a/.github/workflows/main-build-publish-docker-image.yml b/.github/workflows/main-build-publish-docker-image.yml deleted file mode 100644 index 00be52c5dc..0000000000 --- a/.github/workflows/main-build-publish-docker-image.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: Build and publish docker image - -on: - pull_request: - branches: - - main - -jobs: - docker-build-on-ubuntu: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - uses: juliangruber/read-file-action@v1 - name: Read VERSION - id: read_version - with: - path: ./VERSION - - - uses: docker-practice/actions-setup-docker@master - - - uses: mr-smithers-excellent/docker-build-push@v6 - name: Build and Push Docker Image - with: - image: dqops/dqo - tags: $(date +%s),${{ steps.read_version.outputs.content }},latest - enableBuildKit: true - multiPlatform: true - platform: linux/amd64,linux/arm64 - registry: docker.io - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} diff --git a/.github/workflows/main-publish-release.yml b/.github/workflows/main-publish-release.yml index 983cc5aed0..22a2898a64 100644 --- a/.github/workflows/main-publish-release.yml +++ b/.github/workflows/main-publish-release.yml @@ -31,6 +31,21 @@ jobs: with: path: ./VERSION + - uses: docker-practice/actions-setup-docker@master + + - uses: mr-smithers-excellent/docker-build-push@v6 + name: Build and Push Docker Image + with: + image: dqops/dqo + tags: $(date +%s),${{ steps.read_version.outputs.content }},latest + dockerfile: Dockerfile-fast + enableBuildKit: true + multiPlatform: true + platform: linux/amd64,linux/arm64 + registry: docker.io + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + - name: Create GitHub release uses: actions/create-release@v1 id: create_release diff --git a/.run/dqo run.run.xml b/.run/dqo run.run.xml index cb7bb69f8b..42f2d00f81 100644 --- a/.run/dqo run.run.xml +++ b/.run/dqo run.run.xml @@ -1,6 +1,6 @@ -