Skip to content

Commit

Permalink
Merge branch 'main' of github.com:reprograma/on32-ijs-s10-metodologia…
Browse files Browse the repository at this point in the history
…-devops
  • Loading branch information
raissabrizeno committed Aug 9, 2024
2 parents 99bfbd7 + 351f975 commit e02ef5b
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions workflows/github-actions-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ name: CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
Expand All @@ -13,19 +15,16 @@ jobs:
- name: Check out the repository
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: raissabrizeno
password: dckr_pat_twBu8tCgMEnap1eJZp7Ul4_WrI0
- uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
run: echo dckr_pat_FA_dtQWNNB6w7ki2NTKNTwB76U4 | docker login -u raissabrizeno --password-stdin


- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
context: ./exercicios/para-sala/users-api-aula
push: true
tags: raissabrizeno/users-api-aula:1.0.0

Expand Down

0 comments on commit e02ef5b

Please sign in to comment.