Update GitHub Actions workflow to use latest GoogleCloudPlatform located actions (#171)
The locations of the Actions were moved around for some reason, resulting in 404s.
This commit is contained in:
parent
c14a372f4c
commit
50e20a1053
|
|
@ -8,17 +8,16 @@ jobs:
|
||||||
name: Google Cloud Build
|
name: Google Cloud Build
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
- uses: actions/checkout@master
|
- uses: actions/checkout@master
|
||||||
# - run:
|
|
||||||
- name: Authenticate w/ Google Cloud
|
- uses: GoogleCloudPlatform/github-actions/setup-gcloud@master
|
||||||
uses: actions/gcloud/auth@master
|
|
||||||
env:
|
|
||||||
GCLOUD_AUTH: ${{ secrets.GCLOUD_AUTH }}
|
|
||||||
- name: Build, Test, Push to GCR
|
|
||||||
uses: actions/gcloud/cli@master
|
|
||||||
with:
|
with:
|
||||||
entrypoint: bash
|
version: '275.0.0'
|
||||||
args: |
|
service_account_key: ${{ secrets.GCLOUD_AUTH }}
|
||||||
-l -c "BRANCH_NAME=$GITHUB_REPOSITORY/$(expr $GITHUB_REF : '.*/\(.*\)') && \
|
|
||||||
BRANCH_NAME=${BRANCH_NAME,,} && \
|
- name: Build, Test, Push to GCR
|
||||||
gcloud builds submit . --config cloudbuild.yaml --project zealous-zebra --substitutions BRANCH_NAME=$BRANCH_NAME"
|
run: |
|
||||||
|
BRANCH_NAME=$GITHUB_REPOSITORY/$(expr $GITHUB_REF : '.*/\(.*\)') && \
|
||||||
|
BRANCH_NAME=${BRANCH_NAME,,} && \
|
||||||
|
gcloud builds submit . --config cloudbuild.yaml --project zealous-zebra --substitutions BRANCH_NAME=$BRANCH_NAME
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue