Skip to content

Docker Image Publish #8

Docker Image Publish

Docker Image Publish #8

Workflow file for this run

name: Docker Image Publish
on:
workflow_dispatch:
jobs:
docker:
runs-on: ubuntu-latest
steps:
-
uses: actions/checkout@v3
-
name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'temurin'
-
name: Build with Gradle
uses: gradle/gradle-build-action@bd5760595778326ba7f1441bcf7e88b49de61a25 # v2.6.0
with:
arguments: :microservice-visualization:build
-
name: Publish to Docker Hub
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
repository: rbaul/microservice-visualization
tags: latest,1.1.0