Skip to content

Commit

Permalink
working on #51 fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
grabdoc committed Dec 24, 2023
1 parent cc287fd commit 93cf54c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/dockerhub-github-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,18 @@ jobs:
run: ./mvnw deploy -s $GITHUB_WORKSPACE/settings.xml
env:
GITHUB_TOKEN: ${{ github.token }}


- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and push Docker images
uses: docker/[email protected]
with:
context: ./
file: ./Dockerfile
push: true
tags: kdhrubo/db2rest:v${{github.run_number}}, kdhrubo/db2rest:latest

0 comments on commit 93cf54c

Please sign in to comment.