Skip to content

chore(deps): Bump micronaut.version from 4.0.3 to 4.2.0 (#311) #373

chore(deps): Bump micronaut.version from 4.0.3 to 4.2.0 (#311)

chore(deps): Bump micronaut.version from 4.0.3 to 4.2.0 (#311) #373

name: Publish API to Docker Hub
on:
push:
branches:
- master
jobs:
compile_and_publish:
name: Test And Publish To Docker
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
fetch-depth: 2
- name: Setup Java
uses: actions/setup-java@v2
with:
distribution: 'zulu'
java-version: '17'
- name: Deploy Docker
run: mvn package -Ddocker=true -Djib.from.auth.username=${{ secrets.DOCKER_USERNAME }} -Djib.from.auth.password=${{ secrets.DOCKER_PASSWORD }} -Djib.to.auth.username=${{ secrets.DOCKER_USERNAME }} -Djib.to.auth.password=${{ secrets.DOCKER_PASSWORD }} -Djib.to.image=docker.io/fisenkodv/dictum-api