test github action
This commit is contained in:
8
.github/workflows/build-push-docker.yml
vendored
8
.github/workflows/build-push-docker.yml
vendored
@@ -11,14 +11,13 @@ on:
|
|||||||
# - 'v*'
|
# - 'v*'
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
|
# Allows you to run this workflow manually from the Actions tab
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build-and-deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
packages: write
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
@@ -29,6 +28,7 @@ jobs:
|
|||||||
distribution: 'temurin'
|
distribution: 'temurin'
|
||||||
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
|
server-id: github # Value of the distributionManagement/repository/id field of the pom.xml
|
||||||
settings-path: ${{ github.workspace }} # location for the settings.xml file
|
settings-path: ${{ github.workspace }} # location for the settings.xml file
|
||||||
|
cache: maven
|
||||||
|
|
||||||
- name: Build Maven
|
- name: Build Maven
|
||||||
run: mvn -B -DskipTests=true package --file pom.xml && \
|
run: mvn -B -DskipTests=true package --file pom.xml && \
|
||||||
|
|||||||
Reference in New Issue
Block a user