Skip to content

generalize refresher and publish ghcr image #1

generalize refresher and publish ghcr image

generalize refresher and publish ghcr image #1

Workflow file for this run

name: Build
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:

Check failure on line 12 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Build

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 12, Col: 3): The workflow must contain at least one job with no dependencies.
runs-on: ubuntu-latest
needs: test
if: github.event_name == 'push'
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Log in to the Github Container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push container
uses: docker/build-push-action@v2
with:
context: miniflux-chilled-refresher
push: true
tags: ghcr.io/${{ github.repository_owner }}/miniflux-chilled-refresher:latest
platforms: linux/amd64,linux/arm64