Update docker-publish.yml

This commit is contained in:
Oskar 2021-10-19 18:41:15 +02:00 committed by GitHub
parent e31f28400c
commit c5ad606679
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 10 deletions

View File

@ -2,10 +2,12 @@ name: Docker
on:
schedule:
- cron: '0 0 * * *'
- cron: '10 22 * * *'
push:
branches:
- latest
- main
pull_request:
jobs:
@ -15,12 +17,6 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Docker meta
id: meta
uses: docker/metadata-action@v3
with:
images: medzik/android-sdk
- name: Login to DockerHub
if: github.event_name != 'pull_request'
@ -34,5 +30,4 @@ jobs:
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
tags: medzik/android-sdk:latest