mirror of
https://github.com/iv-org/invidious.git
synced 2025-08-10 22:58:29 +00:00
publish docker images for prs
This commit is contained in:
parent
3cc9114f81
commit
12367c0313
15
.github/workflows/container-release.yml
vendored
15
.github/workflows/container-release.yml
vendored
@ -4,6 +4,8 @@ on:
|
||||
push:
|
||||
branches:
|
||||
- "master"
|
||||
pull_request:
|
||||
branches: "master"
|
||||
schedule:
|
||||
- cron: 0 0 * * *
|
||||
|
||||
@ -37,3 +39,16 @@ jobs:
|
||||
labels: quay.expires-after=12w
|
||||
push: true
|
||||
tags: quay.io/invidious/invidious:${{ github.sha }},quay.io/invidious/invidious:latest
|
||||
|
||||
- uses: jwalton/gh-find-current-pr@v1
|
||||
id: findPr
|
||||
|
||||
- name: Build and push PR build
|
||||
if: success() && steps.findPr.outputs.number
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
context: .
|
||||
file: docker/Dockerfile
|
||||
labels: quay.expires-after=2w
|
||||
push: true
|
||||
tags: quay.io/invidious/invidious:${{ github.sha }},quay.io/invidious/invidious:${{ steps.findPr.outputs.number }}
|
||||
|
Loading…
Reference in New Issue
Block a user