Skip to content

Bump express from 4.19.2 to 4.20.0 in /Authenticator (#205) #81

Bump express from 4.19.2 to 4.20.0 in /Authenticator (#205)

Bump express from 4.19.2 to 4.20.0 in /Authenticator (#205) #81

Workflow file for this run

name: DriveBackupV2 Authenticator
on:
workflow_dispatch:
push:
branches-ignore:
- 'dependabot/**'
paths:
- 'Authenticator/**'
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./Authenticator
steps:
- name: Checkout
uses: actions/checkout@v3
- id: 'auth'
uses: 'google-github-actions/auth@v1'
with:
credentials_json: '${{ secrets.GCP_SA_KEY }}'
- name: Setup Cloud SDK
uses: google-github-actions/setup-gcloud@v1
with:
project_id: drivebackup-276620
- name: Authorize Docker push
run: gcloud auth configure-docker
- name: Build and Push Container
run: |-
docker build -t gcr.io/drivebackup-276620/authenticator:${{ github.sha }} .
docker push gcr.io/drivebackup-276620/authenticator:${{ github.sha }}
- name: Deploy to Cloud Run
id: deploy
uses: google-github-actions/deploy-cloudrun@v1
with:
service: authenticator
image: gcr.io/drivebackup-276620/authenticator:${{ github.sha }}
region: us-central1