Update maven-publish.yml

This commit is contained in:
Yevhenii Pokhvalii 2021-03-13 15:11:17 +02:00 committed by GitHub
parent 35889a2f06
commit 686c2701ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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
on:
@ -29,15 +25,6 @@ jobs:
- name: Build with Maven
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
uses: google-github-actions/setup-gcloud@master
with:
@ -75,12 +62,4 @@ jobs:
run: |
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 }}