|
|
@ -52,7 +52,7 @@ jobs:
|
|
|
|
username: ${{ secrets.QUAY_USERNAME }}
|
|
|
|
username: ${{ secrets.QUAY_USERNAME }}
|
|
|
|
password: ${{ secrets.QUAY_PASSWORD }}
|
|
|
|
password: ${{ secrets.QUAY_PASSWORD }}
|
|
|
|
|
|
|
|
|
|
|
|
- name: Build and push Docker AMD64 image for Push Event
|
|
|
|
- name: Build and push Docker AMD64 image without QUIC for Push Event
|
|
|
|
if: github.ref == 'refs/heads/master'
|
|
|
|
if: github.ref == 'refs/heads/master'
|
|
|
|
uses: docker/build-push-action@v3
|
|
|
|
uses: docker/build-push-action@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
@ -62,9 +62,11 @@ 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
|
|
|
|
build-args: release=1
|
|
|
|
build-args: |
|
|
|
|
|
|
|
|
"release=1"
|
|
|
|
|
|
|
|
"disable_quic=1"
|
|
|
|
|
|
|
|
|
|
|
|
- name: Build and push Docker ARM64 image for Push Event
|
|
|
|
- name: Build and push Docker ARM64 image without QUIC for Push Event
|
|
|
|
if: github.ref == 'refs/heads/master'
|
|
|
|
if: github.ref == 'refs/heads/master'
|
|
|
|
uses: docker/build-push-action@v3
|
|
|
|
uses: docker/build-push-action@v3
|
|
|
|
with:
|
|
|
|
with:
|
|
|
@ -74,4 +76,30 @@ jobs:
|
|
|
|
labels: quay.expires-after=12w
|
|
|
|
labels: quay.expires-after=12w
|
|
|
|
push: true
|
|
|
|
push: true
|
|
|
|
tags: quay.io/invidious/invidious:${{ github.sha }}-arm64,quay.io/invidious/invidious:latest-arm64
|
|
|
|
tags: quay.io/invidious/invidious:${{ github.sha }}-arm64,quay.io/invidious/invidious:latest-arm64
|
|
|
|
|
|
|
|
build-args: |
|
|
|
|
|
|
|
|
"release=1"
|
|
|
|
|
|
|
|
"disable_quic=1"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Build and push Docker AMD64 image with QUIC for Push Event
|
|
|
|
|
|
|
|
if: github.ref == 'refs/heads/master'
|
|
|
|
|
|
|
|
uses: docker/build-push-action@v3
|
|
|
|
|
|
|
|
with:
|
|
|
|
|
|
|
|
context: .
|
|
|
|
|
|
|
|
file: docker/Dockerfile
|
|
|
|
|
|
|
|
platforms: linux/amd64
|
|
|
|
|
|
|
|
labels: quay.expires-after=12w
|
|
|
|
|
|
|
|
push: true
|
|
|
|
|
|
|
|
tags: quay.io/invidious/invidious:${{ github.sha }}-quic,quay.io/invidious/invidious:latest-quic
|
|
|
|
|
|
|
|
build-args: release=1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: Build and push Docker ARM64 image with QUIC for Push Event
|
|
|
|
|
|
|
|
if: github.ref == 'refs/heads/master'
|
|
|
|
|
|
|
|
uses: docker/build-push-action@v3
|
|
|
|
|
|
|
|
with:
|
|
|
|
|
|
|
|
context: .
|
|
|
|
|
|
|
|
file: docker/Dockerfile.arm64
|
|
|
|
|
|
|
|
platforms: linux/arm64/v8
|
|
|
|
|
|
|
|
labels: quay.expires-after=12w
|
|
|
|
|
|
|
|
push: true
|
|
|
|
|
|
|
|
tags: quay.io/invidious/invidious:${{ github.sha }}-arm64-quic,quay.io/invidious/invidious:latest-arm64-quic
|
|
|
|
build-args: release=1
|
|
|
|
build-args: release=1
|
|
|
|