Skip to content

Commit

Permalink
Update github-actions-demo.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
raissabrizeno authored Aug 9, 2024
1 parent 4add489 commit fad439e
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions workflows/github-actions-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,22 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- run: npm ci
- run: npm run build --if-present
- run: npm test

- name: Login to Docker Hub
uses: docker/login-action@v3
uses: docker/login-action@v2
with:
username: raissabrizeno
password: dckr_pat_FA_dtQWNNB6w7ki2NTKNTwB76U4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
password: dckr_pat_YxnvZwLfqIQmIPqcz7f2FtxNE5U

- name: Build and push
uses: docker/setup-buildx-action@v3
uses: docker/build-push-action@v4
with:
context: exercicios/para-sala/users-api-aula
push: true
tags: raissabrizeno/users-api-aula:1.0.0


0 comments on commit fad439e

Please sign in to comment.