Skip to content

Commit

Permalink
feat(CI/CD): add push to ghcr.io
Browse files Browse the repository at this point in the history
  • Loading branch information
rupansh committed Jul 23, 2024
1 parent d9b320f commit 9a07cb1
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/publish-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Deploy to ghcr.io

on:
push:
branches:
- rupansh/grpc
workflow_dispatch:

jobs:
docker_publish:
runs-on: "ubuntu-20.04"

steps:
- uses: actions/checkout@v2

- name: Build and publish docker image
uses: macbre/push-to-ghcr@master
with:
image_name: yral-metadata
github_token: ${{ secrets.GITHUB_TOKEN }}
dockerfile: ./Dockerfile.local
image_tag: ${{ github.sha }}

0 comments on commit 9a07cb1

Please sign in to comment.