mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Remove stable branch from CI and build edge on schedule (#1975)
This commit is contained in:
parent
0ba8630c72
commit
c5049c60da
3
.github/workflows/default_on_push.yml
vendored
3
.github/workflows/default_on_push.yml
vendored
|
@ -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 }}
|
||||||
|
|
3
.github/workflows/linting.yml
vendored
3
.github/workflows/linting.yml
vendored
|
@ -4,7 +4,8 @@ on:
|
||||||
pull_request:
|
pull_request:
|
||||||
branches: [ "*" ]
|
branches: [ "*" ]
|
||||||
push:
|
push:
|
||||||
branches: [ "master", "stable" ]
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
|
|
5
.github/workflows/scheduled_builds.yml
vendored
5
.github/workflows/scheduled_builds.yml
vendored
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue