github action to docker build and push

This commit is contained in:
Mário Lima 2021-10-10 23:41:26 +01:00
parent 5967e8c7c8
commit f60253a9b5
No known key found for this signature in database
GPG Key ID: CAC35FE47AF46787

View File

@ -5,10 +5,6 @@ on:
branches:
- dev-rpi-docker
tags:
- v*
# Run tests for any PRs.
pull_request:
env:
@ -16,14 +12,7 @@ env:
IMAGE_NAME: dizquetv:arm7
jobs:
# Run tests.
# See also https://docs.docker.com/docker-hub/builds/automated-testing/
# Push image to GitHub Packages.
# See also https://docs.docker.com/docker-hub/builds/
push:
# Ensure test job passes before pushing image.
runs-on: ubuntu-latest
if: github.event_name == 'push'