mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-07-02 21:44:51 +02:00
Introducing the repository secret (#18)
* fixes #17 * corrections and adjustments
This commit is contained in:
parent
a751b5018f
commit
dba291dc43
8 changed files with 38 additions and 36 deletions
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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue