Skip to content

update pub

update pub #3

Workflow file for this run

name: Gestao de Vagas Application
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: temurin
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