From 568acea34df61d3a8568dcd193bac3f8536c5864 Mon Sep 17 00:00:00 2001 From: denispustovalov Date: Tue, 29 Jul 2025 13:54:15 +0200 Subject: [PATCH 1/2] Update nginx version --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 6d396456c2..62062c8037 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,7 @@ # See the License for the specific language governing permissions and # limitations under the License. # +# # build stage # node:20.18.2-alpine used as 20-alpine FROM quay.io/mlrun/node:20-alpine as build-stage From 7993fa6d62f1c2f6bc16ef16eba1cb3a0da7976f Mon Sep 17 00:00:00 2001 From: denispustovalov Date: Tue, 29 Jul 2025 14:41:55 +0200 Subject: [PATCH 2/2] Add possibility to build and push images --- .github/workflows/ci.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index e52fd4f2d8..35442e7512 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -82,10 +82,21 @@ jobs: - name: Checkout code uses: actions/checkout@v3 + - name: Login to Docker Hub + uses: docker/login-action@v2 + with: + username: ciprotean + password: ${{ secrets.CIPROTEAN_DOCKER_PASS }} + - name: Build Docker image id: build run: | - docker build -t my-react-app:$GITHUB_SHA . > build.log 2>&1 || (cat build.log; exit 1) + docker build -t proteantecs/mlrun-ui-pt:${{ github.sha }} . > build.log 2>&1 || (cat build.log; exit 1) + + - name: Push Docker image + if: success() + run: | + docker push proteantecs/mlrun-ui-pt:${{ github.sha }} - name: Check for igz-controls error message id: check-error