Skip to content

refac: add postgres confs #2

refac: add postgres confs

refac: add postgres confs #2

Workflow file for this run

name: Build and Deploy Quarkus Application - JVM
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- run: echo "Starting Build and Deploy Quarkus Application"
name: Checkout Repository
- uses: actions/checkout@v4
- run: echo "Setting up Java"
name: Set up Java
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '21'
- name: Build Quarkus Application
run: |
./gradlew build
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build Docker Image and Push to Docker Hub
uses: docker/build-push-action@v5
with:
context: .
file: ./src/main/docker/Dockerfile.jvm
push: true
tags: mateuxlucax/rinha-de-backend-2024-q1-kotlin:jvm