summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorPerflyst <mail@perflyst.de>2021-01-20 12:44:16 +0100
committerGitHub <noreply@github.com>2021-01-20 12:44:16 +0100
commitd8629e61d615e2c0c7fc4d4ee1d88324170b2cb8 (patch)
tree0551e3c90ec7a07ccfc2a5b0e1bab0da2b0c0527 /.github/workflows
parent5f18799d8f7a30f91713916a2a7f8551ac00905e (diff)
parentd4ddd7204d7f260574bb6c572e90bcdc99e7dbd0 (diff)
downloadinvidious-d8629e61d615e2c0c7fc4d4ee1d88324170b2cb8.tar.gz
invidious-d8629e61d615e2c0c7fc4d4ee1d88324170b2cb8.tar.bz2
invidious-d8629e61d615e2c0c7fc4d4ee1d88324170b2cb8.zip
Merge pull request #1674 from iv-org/container-quay
Add container CI release
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/container-release.yml37
1 files changed, 37 insertions, 0 deletions
diff --git a/.github/workflows/container-release.yml b/.github/workflows/container-release.yml
new file mode 100644
index 00000000..77877080
--- /dev/null
+++ b/.github/workflows/container-release.yml
@@ -0,0 +1,37 @@
+name: Build and release container
+
+on:
+ push:
+ branches:
+ - "master"
+
+jobs:
+ release:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout
+ uses: actions/checkout@v2
+
+ - name: Set up QEMU
+ uses: docker/setup-qemu-action@v1
+
+ - name: Set up Docker Buildx
+ uses: docker/setup-buildx-action@v1
+
+ - name: Login to registry
+ uses: docker/login-action@v1
+ with:
+ registry: quay.io
+ username: ${{ secrets.QUAY_USERNAME }}
+ password: ${{ secrets.QUAY_PASSWORD }}
+
+ - name: Build and push
+ uses: docker/build-push-action@v2
+ with:
+ push: true
+ tags: quay.io/invidious/invidious:latest
+
+ - name: Image digest
+ run: echo ${{ steps.docker_build.outputs.digest }}