mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
Streamline scheduled workflow with default one
This commit is contained in:
parent
bbd1b36a63
commit
1a36641c0c
18
.github/workflows/scheduled_builds.yml
vendored
18
.github/workflows/scheduled_builds.yml
vendored
|
@ -13,11 +13,15 @@ jobs:
|
||||||
with:
|
with:
|
||||||
ref: stable
|
ref: stable
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
- name: Prepare
|
- name: Prepare tags
|
||||||
id: prep
|
id: prep
|
||||||
run: |
|
uses: crazy-max/ghaction-docker-meta@v1
|
||||||
TAGS=${{ secrets.DOCKER_REPOSITORY }}:stable
|
with:
|
||||||
echo ::set-output name=tags::${TAGS}
|
images: |
|
||||||
|
${{ secrets.DOCKER_REPOSITORY }}
|
||||||
|
${{ secrets.GHCR_REPOSITORY }}
|
||||||
|
tag-custom: stable
|
||||||
|
tag-custom-only: true
|
||||||
- name: Set up QEMU
|
- name: Set up QEMU
|
||||||
uses: docker/setup-qemu-action@v1
|
uses: docker/setup-qemu-action@v1
|
||||||
- name: Set up Docker Buildx
|
- name: Set up Docker Buildx
|
||||||
|
@ -28,6 +32,12 @@ jobs:
|
||||||
with:
|
with:
|
||||||
username: ${{ secrets.DOCKER_USERNAME }}
|
username: ${{ secrets.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
- name: Login to GitHub Container Registry
|
||||||
|
uses: docker/login-action@v1
|
||||||
|
with:
|
||||||
|
registry: ghcr.io
|
||||||
|
username: ${{ secrets.GHCR_USERNAME }}
|
||||||
|
password: ${{ secrets.GHCR_PASSWORD }}
|
||||||
- name: Build image locally
|
- name: Build image locally
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
|
|
Loading…
Reference in a new issue