Skip to content

Commit

Permalink
fix: The Gradle CI file for the Docker pushing
Browse files Browse the repository at this point in the history
  • Loading branch information
bendavies99 committed Jun 2, 2023
1 parent 99221d5 commit 6149dea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,5 @@ jobs :
echo "VERSION=$(grep -E 'version\s*=\s*([a-zA-Z0-9\-\.]+)' ./gradle.properties | cut -d ' ' -f3)" >> $GITHUB_ENV
- name : Docker Push
run : |
docker tag babblebot-server:${{ env.VERSION }} ${{ secrets.DOCKER_USERNAME }}/babblebot-server:${{ env.VERSION }}
docker push ${{ secrets.DOCKER_USERNAME }}/babblebot-server:${{ env.VERSION }}
docker tag babblebot-server:${{ env.VERSION }} ${{ secrets.DOCKERHUB_USERNAME }}/babblebot-server:${{ env.VERSION }}
docker push ${{ secrets.DOCKERHUB_USERNAME }}/babblebot-server:${{ env.VERSION }}

0 comments on commit 6149dea

Please sign in to comment.