mirror of https://github.com/Icinga/icinga2.git
GHA: handle changed interface of Icinga/docker-icinga2
This commit is contained in:
parent
f59f361f09
commit
47de7a9e42
|
@ -11,7 +11,19 @@ on:
|
|||
- published
|
||||
|
||||
jobs:
|
||||
docker-release:
|
||||
if: github.event_name == 'release'
|
||||
concurrency: docker-release
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Docker image
|
||||
uses: Icinga/docker-icinga2@master
|
||||
with:
|
||||
dockerhub-token: '${{ secrets.DOCKER_HUB_PERSONAL_TOKEN }}'
|
||||
|
||||
docker:
|
||||
if: github.event_name != 'release'
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
|
@ -24,6 +36,5 @@ jobs:
|
|||
|
||||
- name: Docker image
|
||||
uses: Icinga/docker-icinga2@master
|
||||
env:
|
||||
INPUT_TOKEN: '${{ github.token }}'
|
||||
DOCKER_HUB_PASSWORD: '${{ secrets.DOCKER_HUB_PERSONAL_TOKEN }}'
|
||||
with:
|
||||
dockerhub-token: '${{ secrets.DOCKER_HUB_PERSONAL_TOKEN }}'
|
||||
|
|
25
RELEASE.md
25
RELEASE.md
|
@ -361,31 +361,6 @@ The release body should contain a short changelog, with links
|
|||
into the roadmap, changelog and blogpost.
|
||||
|
||||
|
||||
## Docker <a id="docker"></a>
|
||||
|
||||
> Only for final versions (not for RCs).
|
||||
|
||||
Once the release has been published on GitHub, wait for its
|
||||
[GitHub actions](https://github.com/Icinga/icinga2/actions) to complete.
|
||||
|
||||
```bash
|
||||
VERSION=2.12.1
|
||||
|
||||
TAGS=(2.12)
|
||||
#TAGS=(2.12 2 latest)
|
||||
|
||||
docker pull icinga/icinga2:$VERSION
|
||||
|
||||
for t in "${TAGS[@]}"; do
|
||||
docker tag icinga/icinga2:$VERSION icinga/icinga2:$t
|
||||
done
|
||||
|
||||
for t in "${TAGS[@]}"; do
|
||||
docker push icinga/icinga2:$t
|
||||
done
|
||||
```
|
||||
|
||||
|
||||
## Post Release <a id="post-release"></a>
|
||||
|
||||
### Online Documentation <a id="online-documentation"></a>
|
||||
|
|
Loading…
Reference in New Issue