Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nanuchi authored Sep 30, 2020
1 parent 48697c1 commit b109fe9
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,29 @@ on:
branches: [ master ]

jobs:
build:

runs-on: ${{matrix.os}}
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macOS-latest]
build-java:

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: Build with Gradle
run: ./gradlew build
- name: Build and Push docker image

- name: Build and Push Docker Image
uses: mr-smithers-excellent/docker-build-push@v4
with:
image: nanajanashia/demo-app
registry: docker.io
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
password: ${{ secrets.DOCKER_PASSWORD }}

1 comment on commit b109fe9

@alHazen-ai
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

coment

Please sign in to comment.