github action to docker build and push
This commit is contained in:
parent
5967e8c7c8
commit
f60253a9b5
11
.github/workflows/docker-publish.yml
vendored
11
.github/workflows/docker-publish.yml
vendored
@ -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'
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user