mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 15:55:49 +00:00
Update maven-publish.yml
This commit is contained in:
parent
35889a2f06
commit
686c2701ab
1 changed files with 0 additions and 21 deletions
21
.github/workflows/maven-publish.yml
vendored
21
.github/workflows/maven-publish.yml
vendored
|
@ -1,7 +1,3 @@
|
||||||
# This workflow will build a package using Maven and then publish it to GitHub packages when a release is created
|
|
||||||
# For more information see: https://github.com/actions/setup-java#apache-maven-with-a-settings-path
|
|
||||||
# test 3
|
|
||||||
|
|
||||||
name: Maven Package
|
name: Maven Package
|
||||||
|
|
||||||
on:
|
on:
|
||||||
|
@ -29,15 +25,6 @@ jobs:
|
||||||
- name: Build with Maven
|
- name: Build with Maven
|
||||||
run: mvn -B package --file pom.xml
|
run: mvn -B package --file pom.xml
|
||||||
|
|
||||||
# - name: Build and Push Docker Image
|
|
||||||
# uses: mr-smithers-excellent/docker-build-push@v5
|
|
||||||
# with:
|
|
||||||
# image: eugenedemo1/pet-clinic-maven-test
|
|
||||||
# tags: v1, latest
|
|
||||||
# registry: docker.io
|
|
||||||
# username: ${{ secrets.DOCKER_USERNAME }}
|
|
||||||
# password: ${{ secrets.DOCKER_PASSWORD }}
|
|
||||||
|
|
||||||
- name: Setup GCP Service Account
|
- name: Setup GCP Service Account
|
||||||
uses: google-github-actions/setup-gcloud@master
|
uses: google-github-actions/setup-gcloud@master
|
||||||
with:
|
with:
|
||||||
|
@ -75,12 +62,4 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
echo ${{ github.event.client_payload.sha }}
|
echo ${{ github.event.client_payload.sha }}
|
||||||
|
|
||||||
# - name: Docker Deploy
|
|
||||||
# run: |
|
|
||||||
# gcloud run deploy helloworld \
|
|
||||||
# --region europe-west1 \
|
|
||||||
# --image gcr.io/${{ secrets.GCP_PROJECT_ID }}/helloworld \
|
|
||||||
# --platform managed \
|
|
||||||
# --allow-unauthenticated \
|
|
||||||
# --project ${{ secrets.GCP_PROJECT_ID }}
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue