mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-30 10:42:33 +05:30
Remove container release on PR
This commit is contained in:
parent
51ebec7c13
commit
e35345f135
12
.github/workflows/container-release.yml
vendored
12
.github/workflows/container-release.yml
vendored
@ -4,8 +4,6 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- "master"
|
- "master"
|
||||||
pull_request:
|
|
||||||
branches: "*"
|
|
||||||
schedule:
|
schedule:
|
||||||
- cron: 0 0 * * *
|
- cron: 0 0 * * *
|
||||||
|
|
||||||
@ -39,13 +37,3 @@ jobs:
|
|||||||
labels: quay.expires-after=12w
|
labels: quay.expires-after=12w
|
||||||
push: true
|
push: true
|
||||||
tags: quay.io/invidious/invidious:${{ github.sha }},quay.io/invidious/invidious:latest
|
tags: quay.io/invidious/invidious:${{ github.sha }},quay.io/invidious/invidious:latest
|
||||||
|
|
||||||
- name: Build and push for Pull Request
|
|
||||||
if: github.ref != 'refs/heads/master'
|
|
||||||
uses: docker/build-push-action@v2
|
|
||||||
with:
|
|
||||||
context: .
|
|
||||||
file: docker/Dockerfile
|
|
||||||
labels: quay.expires-after=6w
|
|
||||||
push: true
|
|
||||||
tags: quay.io/invidious/invidious:${{ github.sha }}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user