Remove stable branch from CI and build edge on schedule (#1975)

This commit is contained in:
Casper 2021-05-17 09:45:27 +02:00 committed by GitHub
parent 0ba8630c72
commit c5049c60da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 6 deletions

View file

@ -5,7 +5,6 @@ on:
push:
branches:
- master
- stable
paths:
- 'target/**'
- '.dockerignore'
@ -98,7 +97,7 @@ jobs:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build image locally
- name: Build images locally
uses: docker/build-push-action@v2.4.0
with:
builder: ${{ steps.buildx.outputs.name }}

View file

@ -4,7 +4,8 @@ on:
pull_request:
branches: [ "*" ]
push:
branches: [ "master", "stable" ]
branches:
- master
jobs:
lint:

View file

@ -1,4 +1,4 @@
name: "Build Stable on Schedule"
name: "Build Edge on Schedule"
on:
schedule:
@ -11,7 +11,6 @@ jobs:
- name: Checkout
uses: actions/checkout@v2.3.4
with:
ref: stable
submodules: recursive
- name: Prepare tags
id: prep
@ -21,7 +20,7 @@ jobs:
${{ secrets.DOCKER_REPOSITORY }}
${{ secrets.GHCR_REPOSITORY }}
tags: |
type=raw,value=stable
type=raw,value=edge
- name: Set up QEMU
uses: docker/setup-qemu-action@v1.1.0
- name: Set up Docker Buildx