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

View file

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

View file

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