diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 218d7ab2ee..013c64969e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -185,6 +185,11 @@ jobs: path: ${{ env.CacheFolders}} key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ github.sha }} restore-keys: ${{ runner.os }}-build-${{ env.cache-name }}-${{ github.sha }} + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: hardcoreeng + password: ${{ secrets.DOCKER_ACCESS_TOKEN }} - name: Prepare server run: | @@ -224,6 +229,12 @@ jobs: - name: Installing... run: node common/scripts/install-run-rush.js install + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: hardcoreeng + password: ${{ secrets.DOCKER_ACCESS_TOKEN }} + - name: Docker Build run: node common/scripts/install-run-rush.js docker env: @@ -339,6 +350,12 @@ jobs: - name: Installing... run: node common/scripts/install-run-rush.js install + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: hardcoreeng + password: ${{ secrets.DOCKER_ACCESS_TOKEN }} + - name: Docker Build run: node common/scripts/install-run-rush.js docker env: @@ -403,6 +420,11 @@ jobs: - name: Installing... run: node common/scripts/install-run-rush.js install + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: hardcoreeng + password: ${{ secrets.DOCKER_ACCESS_TOKEN }} - name: Docker Build run: node common/scripts/install-run-rush.js docker env: @@ -473,6 +495,11 @@ jobs: - name: Build sanity-tests suite run: node common/scripts/install-run-rush.js build -t @hcengineering/tests-sanity + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: hardcoreeng + password: ${{ secrets.DOCKER_ACCESS_TOKEN }} - name: Docker Build run: node common/scripts/install-run-rush.js docker env: @@ -568,6 +595,12 @@ jobs: - name: Model version from git tags run: node common/scripts/install-run-rush.js model-version + - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: hardcoreeng + password: ${{ secrets.DOCKER_ACCESS_TOKEN }} + - name: Docker build run: node common/scripts/install-run-rush.js docker:build -v env: