diff options
| author | syeopite <70992037+syeopite@users.noreply.github.com> | 2021-09-01 11:24:17 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-01 13:24:17 +0200 |
| commit | dd141daefdf33b6584c8b75cbd97e7ff34f81e57 (patch) | |
| tree | 1aaf747f6da40a7eb7e1838fedc2901b5f746710 /.github | |
| parent | a1001ada479c4e6ad03fa34b74f035d171b24ce5 (diff) | |
| download | invidious-dd141daefdf33b6584c8b75cbd97e7ff34f81e57.tar.gz invidious-dd141daefdf33b6584c8b75cbd97e7ff34f81e57.tar.bz2 invidious-dd141daefdf33b6584c8b75cbd97e7ff34f81e57.zip | |
Make building in release mode optional (#2368)
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yml | 4 | ||||
| -rw-r--r-- | .github/workflows/container-release.yml | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fa6f9e33..3bb4c491 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -86,6 +86,9 @@ jobs: - uses: actions/checkout@v2 - name: Build Docker + run: docker-compose build --build-arg release=0 + + - name: Run Docker run: docker-compose up -d - name: Test Docker @@ -112,6 +115,7 @@ jobs: context: . file: docker/Dockerfile.arm64 platforms: linux/arm64/v8 + build-args: release=0 - name: Test Docker run: while curl -Isf http://localhost:3000; do sleep 1; done diff --git a/.github/workflows/container-release.yml b/.github/workflows/container-release.yml index 9cc39783..8945ef7a 100644 --- a/.github/workflows/container-release.yml +++ b/.github/workflows/container-release.yml @@ -40,6 +40,7 @@ jobs: labels: quay.expires-after=12w push: true tags: quay.io/invidious/invidious:${{ github.sha }},quay.io/invidious/invidious:latest + build-args: release=1 - name: Build and push Docker ARM64 image for Push Event if: github.ref == 'refs/heads/master' @@ -50,4 +51,5 @@ jobs: platforms: linux/arm64/v8 labels: quay.expires-after=12w push: true - tags: quay.io/invidious/invidious:${{ github.sha }}-arm64,quay.io/invidious/invidious:latest-arm64
\ No newline at end of file + tags: quay.io/invidious/invidious:${{ github.sha }}-arm64,quay.io/invidious/invidious:latest-arm64 + build-args: release=1
\ No newline at end of file |
