From 9fe74af4c3330c3a9c6acd13b4d2a547f1e82e43 Mon Sep 17 00:00:00 2001 From: Uku Taht <uku.taht@gmail.com> Date: Tue, 29 Dec 2020 16:31:48 +0200 Subject: [PATCH] Add workflows on stable --- .github/workflows/docker.yml | 15 ++++++++------- .github/workflows/elixir.yml | 4 ++-- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index c6c6f1d4..68f126d0 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -1,17 +1,18 @@ -name: Build +name: Build on: push: - branches: [ master ] + branches: [ master, stable ] workflow_dispatch: jobs: build: runs-on: ubuntu-latest - + steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v2 + - name: Set up QEMU uses: docker/setup-qemu-action@v1 @@ -24,8 +25,8 @@ jobs: with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - - + + - name: Docker cache uses: satackey/action-docker-layer-caching@v0.0.11 - @@ -34,7 +35,7 @@ jobs: uses: docker/build-push-action@v2 with: push: true - tags: plausible/analytics:master + tags: plausible/analytics:${GITHUB_REF##*/} cache-from: type=local,src=/tmp/.buildx-cache cache-to: type=local,dest=/tmp/.buildx-cache - diff --git a/.github/workflows/elixir.yml b/.github/workflows/elixir.yml index 3e97d60e..6cd27f59 100644 --- a/.github/workflows/elixir.yml +++ b/.github/workflows/elixir.yml @@ -2,9 +2,9 @@ name: Elixir CI on: push: - branches: [ master ] + branches: [ master, stable ] pull_request: - branches: [ master ] + branches: [ master, stable ] jobs: build: -- GitLab