Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
enapupe committed Nov 2, 2023
1 parent b1b120a commit 50b2eae
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:
permissions:
contents: read
packages: write
#
id-token: "write"

steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -33,3 +34,18 @@ jobs:
context: .
push: true
tags: vnguyen/openbeta-media-server:latest

- id: "auth"
name: "Authenticate to Google Cloud"
uses: "google-github-actions/auth@v1"
with:
credentials_json: "${{ secrets.GOOGLE_CLOUD_CREDENTIALS }}"

- id: "deploy"
uses: "google-github-actions/deploy-cloudrun@v1"
with:
service: "media-server"
image: "vnguyen/openbeta-media-server"

- name: "Use output"
run: 'curl "${{ steps.deploy.outputs.url }}"'

0 comments on commit 50b2eae

Please sign in to comment.