Skip to content

full rewrite

full rewrite #1

Workflow file for this run

name: Publish Docker Image

Check failure on line 1 in .github/workflows/publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/publish.yml

Invalid workflow file

No steps defined in `steps` and no workflow called in `uses` for the following jobs: publish-docker
on: [push]
jobs:
publish-docker:
runs-on: ubuntu-latest
defaults:
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 . --tag ghcr.io/ngn13/ezcat:latest
docker push ghcr.io/ngn13/ezcat:latest