mirror of
https://github.com/openzim/zimit.git
synced 2025-12-31 04:23:15 +00:00
added Docker publish GA
This commit is contained in:
parent
71603f8a15
commit
f72caad35c
1 changed files with 27 additions and 0 deletions
27
.github/workflows/container.yml
vendored
Normal file
27
.github/workflows/container.yml
vendored
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
name: Container
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- 'master'
|
||||
tags:
|
||||
- v*
|
||||
|
||||
jobs:
|
||||
youtube:
|
||||
name: Deploy Docker Image
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Publish docker
|
||||
uses: rgaudin/openzim-docker-action@main
|
||||
with:
|
||||
image-path: openzim/zimit
|
||||
on-master: dev
|
||||
tag-pattern: v*
|
||||
latest-on-tag: true
|
||||
restrict-to: openzim/zimit
|
||||
hub-username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
hub-password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
ghcr-username: ${{ secrets.GHCR_USERNAME }}
|
||||
ghcr-token: ${{ secrets.GHCR_TOKEN }}
|
||||
Loading…
Add table
Add a link
Reference in a new issue