Unverified Commit 553820f4 authored by NicolaiO's avatar NicolaiO 🐼
Browse files

Update GitHub pipeline

parent 982388dd
Pipeline #8575 passed with stage
in 2 minutes and 4 seconds
......@@ -3,8 +3,6 @@ name: Build and push to docker
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
......@@ -21,8 +19,6 @@ jobs:
java-version: 11
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Publish to Docker Hub
env:
DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }}
......
......@@ -20,13 +20,6 @@ jobs:
java-version: 11
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Build with Gradle
run: ./gradlew build
- name: Publish to Docker Hub
env:
DOCKER_HUB_USERNAME: ${{ secrets.DOCKER_HUB_USERNAME }}
DOCKER_HUB_PASSWORD: ${{ secrets.DOCKER_HUB_PASSWORD }}
run: ./gradlew jib
- name: Publish Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment