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 4b1ab97 commit a271518
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand All @@ -52,4 +52,5 @@ jobs:
- name: npm install and npm run CI commands
run: |
npm i
# npm test
npm run build

0 comments on commit a271518

Please sign in to comment.