Skip to content

Fix workflows

Fix workflows #181

Workflow file for this run

name: Deploy Images to GHCR
on:
push:
branches:
- main
workflow_dispatch:
jobs:
push-store-image:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@main
- name: 'Login to GHCR'
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ github.token }}
- name: 'Build Image'
run: docker build . --tag ghcr.io/hemantapkh/torrenthunt:latest
- name: 'Push to GHCR'
run: docker push ghcr.io/hemantapkh/torrenthunt:latest