Remove container release on PR

pull/1714/head
Perflyst 4 years ago committed by GitHub
parent 51ebec7c13
commit e35345f135
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save