Skip to content

Commit

Permalink
Create github.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ShivamB25 authored Jan 10, 2024
1 parent 04f46c0 commit 0272961
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/github.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Deploy Images to GHCR

on:
push:
branches:
- main
workflow_dispatch:

jobs:
push-store-image:
runs-on: ubuntu-latest
steps:
- name: 'Checkout GitHub Action'
uses: actions/checkout@main

- name: 'Login to GitHub Container Registry'
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: 'Build Inventory Image'
run: |
docker build . ghcr.io/zachstultz/komga-cover-extractor:latest
docker push ghcr.io/zachstultz/komga-cover-extractor:latest

0 comments on commit 0272961

Please sign in to comment.