diff --git a/.github/workflows/prod.yml b/.github/workflows/prod.yml index decf83e..1c13aa2 100644 --- a/.github/workflows/prod.yml +++ b/.github/workflows/prod.yml @@ -15,4 +15,12 @@ jobs: uses: actions/setup-java@v3 with: distribution: temurin - java-version: 17 \ No newline at end of file + java-version: 17 + - name: Build Project + run: mvn clean install + - name: Login docker + run: docker login -u ${{secrets.DOCKER_USERNAME}} -p ${{secrets.DOCKER_PASSWORD}} + - name: Build Docker Image + run: docker build -t luiseduardoalencar/gestao_vagas . + - name: Publish Image + run: docker push luiseduardoalencar/gestao_vagas \ No newline at end of file