From a2715187db277d6a8461ea16742a626ab68a00da Mon Sep 17 00:00:00 2001 From: MiguelPelegrina <95084406+MiguelPelegrina@users.noreply.github.com> Date: Tue, 14 May 2024 11:23:38 +0200 Subject: [PATCH] Update ci.yml --- .github/workflows/ci.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 54424fb..a78c50d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,8 @@ jobs: - name: Set Docker image name id: docker_image_name - + run: echo "migupele/java_school_online_store_frontend" + - uses: actions/cache@v3 env: cache-name: ${{ runner.os }}-build-${{ github.job }} @@ -27,14 +28,13 @@ jobs: ${{ runner.os }}- - name: Build Docker image - run: | - run: docker build . --file Dockerfile + run: docker build . --file Dockerfile - uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_TOKEN }} - + - name: Extract metadata (tags, labels) for Docker id: meta uses: docker/metadata-action@v1 @@ -52,4 +52,5 @@ jobs: - name: npm install and npm run CI commands run: | npm i + # npm test npm run build