diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index d6303f0..8c9c49c 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -3,12 +3,13 @@ name: Docker on: schedule: - cron: '0 0 * * *' + push: branches: - - latest + - main + pull_request: - branches: - - latest + workflow_dispatch: jobs: @@ -18,12 +19,6 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v2 - - - name: Docker meta - id: meta - uses: docker/metadata-action@v3 - with: - images: medzik/fdroidserver - name: Login to DockerHub if: github.event_name != 'pull_request' @@ -37,5 +32,4 @@ jobs: with: context: . push: ${{ github.event_name != 'pull_request' }} - tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} + tags: medzik/fdroidserver:latest