Skip to content

CI build

CI build #2

Workflow file for this run

## A basic GitHub Actions workflow for your Quarkus application.
name: CI build
on:
push:
branches: [ main, dev ]
workflow_dispatch:
env:
QUARKUS_CONTAINER_IMAGE_USERNAME: ${{ secrets.DOCKER_HUB_LOGIN }}
QUARKUS_CONTAINER_IMAGE_PASSWORD: ${{ secrets.DOCKER_HUB_PWD }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout gh-repo
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: temurin
cache: maven
- name: Build
run: |
./mvnw package -B -Dquarkus.container-image.tag=${GITHUB_REF##*/}
docker image ls