From 174ed929fa66f539f419dc0e416894a83e31401e Mon Sep 17 00:00:00 2001 From: Luis Eduardo Date: Mon, 25 Nov 2024 13:27:43 -0300 Subject: [PATCH] update pub --- .github/workflows/prod.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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