diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 4e9951da7..27f74d4bf 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -30,7 +30,7 @@ jobs: - name: Build and push Docker image from main uses: docker/build-push-action@4f58ea79222b3b9dc2c8bbdd6debcef730109a75 # v6.9.0 with: - file: ./scripts/ci/docker/zombienet_injected.Dockerfile + file: ./scripts/ci/docker/zombienet_builder.Dockerfile push: false tags: | ${{ env.IMAGE_NAME }}:${{ env.VERSION }} diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e0708279e..d9962eb70 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -71,6 +71,16 @@ cache: - if: $CI_COMMIT_REF_NAME == "main" - if: $CI_COMMIT_REF_NAME =~ /^v[0-9]+\.[0-9]+.*$/ # i.e. v1.0, v2.1rc1 +build: + stage: build + <<: *kubernetes-env + <<: *common-refs + script: + - cd javascript + - npm install + - npm run clean + - npm run build + # template task for building and pushing an image .build-push-docker-image: &build-push-docker-image script: