Add workflows on stable

This commit is contained in:
Uku Taht 2020-12-29 16:31:48 +02:00
parent 324d33a792
commit 9fe74af4c3
2 changed files with 10 additions and 9 deletions

View File

@ -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
-

View File

@ -2,9 +2,9 @@ name: Elixir CI
on:
push:
branches: [ master ]
branches: [ master, stable ]
pull_request:
branches: [ master ]
branches: [ master, stable ]
jobs:
build: