diff --git a/workflows/github-actions-demo.yml b/workflows/github-actions-demo.yml index 5a06df5..c8bdbd7 100644 --- a/workflows/github-actions-demo.yml +++ b/workflows/github-actions-demo.yml @@ -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 + +