Update docker-publish.yml

This commit is contained in:
Oskar 2021-10-19 18:35:05 +02:00 committed by GitHub
parent 26b146d690
commit 192deba949
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 11 deletions

View File

@ -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