Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MiguelPelegrina authored May 14, 2024
1 parent 256f816 commit 2cad058
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand Down

0 comments on commit 2cad058

Please sign in to comment.