Skip to content

Build(deps): Bump rexml from 3.2.5 to 3.2.8 in /docs #155

Build(deps): Bump rexml from 3.2.5 to 3.2.8 in /docs

Build(deps): Bump rexml from 3.2.5 to 3.2.8 in /docs #155

Workflow file for this run

# This workflow will build a Java project with Gradle
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Java CI with Gradle
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Test with Gradle
run: ./gradlew test
- name: Docker run for micronaut
if: github.ref == 'refs/heads/master'
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
DOCKERHUB_REPOSITORY: elvaliev/micronaut-quickstart
run: ./gradlew :micronaut:jib --image=$DOCKERHUB_REPOSITORY -PDOCKERHUB_USERNAME=$DOCKERHUB_USERNAME -PDOCKERHUB_PASSWORD=$DOCKERHUB_PASSWORD
- name: Docker run for quarkus
if: github.ref == 'refs/heads/master'
env:
DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKERHUB_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
DOCKERHUB_REPOSITORY: elvaliev/quarkus-quickstart
run: |
./gradlew :quarkus:quarkusBuild
docker login -u $DOCKERHUB_USERNAME -p $DOCKERHUB_PASSWORD
docker tag runner/quarkus-quickstart $DOCKERHUB_REPOSITORY
docker push $DOCKERHUB_REPOSITORY