You've already forked docker-mailserver
mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-08 23:06:49 +02:00
Introducing the repository secret (#18)
* fixes #17 * corrections and adjustments
This commit is contained in:
3
.github/workflows/close_stale_issues.yml
vendored
3
.github/workflows/close_stale_issues.yml
vendored
@ -8,7 +8,8 @@ jobs:
|
||||
stale:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/stale@v3
|
||||
- name: Close stale issues
|
||||
uses: actions/stale@v3
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
days-before-stale: 1 # TODO just for testing purposes, otherwise (20)
|
||||
|
2
.github/workflows/default_on_push.yml
vendored
2
.github/workflows/default_on_push.yml
vendored
@ -53,7 +53,7 @@ jobs:
|
||||
- name: Prepare tags
|
||||
id: prep
|
||||
run: |
|
||||
DOCKER_IMAGE=docker.io/mailserver/docker-mailserver
|
||||
DOCKER_IMAGE=${{ secrets.DOCKER_REPOSITORY }}
|
||||
VERSION=latest
|
||||
[[ $GITHUB_REF == refs/tags/* ]] && VERSION=${GITHUB_REF#refs/tags/v}
|
||||
[[ $GITHUB_REF == 'refs/heads/stable' ]] && VERSION=stable
|
||||
|
3
.github/workflows/scheduled_builds.yml
vendored
3
.github/workflows/scheduled_builds.yml
vendored
@ -16,7 +16,7 @@ jobs:
|
||||
- name: Prepare
|
||||
id: prep
|
||||
run: |
|
||||
TAGS="docker.io/mailserver/docker-mailserver:stable"
|
||||
TAGS=${{ secrets.DOCKER_REPOSITORY }}:stable
|
||||
echo ::set-output name=tags::${TAGS}
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v1
|
||||
@ -38,6 +38,5 @@ jobs:
|
||||
VCS_REF=${{ github.sha }}
|
||||
VCS_VER=${{ github.ref }}
|
||||
platforms: linux/amd64,linux/arm/v7,linux/arm64
|
||||
pull: true
|
||||
push: true
|
||||
tags: ${{ steps.prep.outputs.tags }}
|
||||
|
Reference in New Issue
Block a user