diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9e3dfad..bdcf6a4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,10 +12,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - - name: Set Docker image name - id: docker_image_name - run: echo "migupele/java_school_online_store_frontend" - uses: actions/cache@v3 env: @@ -27,14 +23,9 @@ jobs: ${{ runner.os }}-build- ${{ runner.os }}- - - name: Cache Docker layers - uses: docker/layer-cache@v3 - with: - key: ${{ runner.os }}-docker-${{ hashFiles('./Dockerfile') }} - - name: Build Docker image (using cache) run: | - docker build --cache-from ${{ steps.docker_layer_cache.outputs.layer_cache }} -t ${{ steps.docker_image_name.outputs.image_name }} . + run: docker build . --file Dockerfile - uses: docker/login-action@v3 with: