Skip to content

chore(deps): Bump org.testcontainers:testcontainers-bom (#434) #490

chore(deps): Bump org.testcontainers:testcontainers-bom (#434)

chore(deps): Bump org.testcontainers:testcontainers-bom (#434) #490

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: '21'
- 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