Skip to content

Add ghcr workflows #180

Add ghcr workflows

Add ghcr workflows #180

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
- push: 'Push to GHCR'

Check failure on line 27 in .github/workflows/deploy.yml

View workflow run for this annotation

GitHub Actions / Deploy Images to GHCR

Invalid workflow file

The workflow is not valid. .github/workflows/deploy.yml (Line: 27, Col: 13): Unexpected value 'push'
run: docker push ghcr.io/hemantapkh/torrenthunt:latest