Compare commits
2 commits
f990fc93d3
...
85feb1d514
Author | SHA1 | Date | |
---|---|---|---|
85feb1d514 | |||
dada2b6995 |
2 changed files with 1 additions and 28 deletions
27
.github/workflows/release_stable.yml
vendored
27
.github/workflows/release_stable.yml
vendored
|
@ -9,10 +9,6 @@ on:
|
|||
description: 'rebuild'
|
||||
type: boolean
|
||||
required: true
|
||||
force_release:
|
||||
description: 'rebuild'
|
||||
type: boolean
|
||||
required: true
|
||||
|
||||
env:
|
||||
DOTCLEAR_IMAGE: docker-dotclear
|
||||
|
@ -59,29 +55,6 @@ jobs:
|
|||
SUMMARY=$'Image ${{ env.DOCKER_NAMESPACE }}/${{ env.DOTCLEAR_IMAGE }}:${{ steps.dotclear.outputs.version }} found.'
|
||||
echo "$SUMMARY" >> $GITHUB_STEP_SUMMARY
|
||||
|
||||
do_release:
|
||||
needs: check_image
|
||||
if: ((needs.check_image.outputs.exists == 'false') || (github.event.inputs.force_release == 'true'))
|
||||
name: Create repository tag and release
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: ncipollo/release-action@v1
|
||||
with:
|
||||
name: Docker Dotclear ${{ needs.check_image.outputs.version }}
|
||||
commit: master
|
||||
tag: ${{ needs.check_image.outputs.version }}
|
||||
body: Source for docker image of Dotclear ${{ needs.check_image.outputs.version }} stable
|
||||
draft: false
|
||||
prerelease: false
|
||||
|
||||
- name: summary
|
||||
run: |
|
||||
SUMMARY=$'Docker Dotclear ${{ steps.dotclear.outputs.version }} release created.'
|
||||
echo "$SUMMARY" >> $GITHUB_STEP_SUMMARY
|
||||
|
||||
do_image:
|
||||
needs: check_image
|
||||
if: ((needs.check_image.outputs.exists == 'false') || (github.event.inputs.force_rebuild == 'true'))
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# README
|
||||
|
||||
![Stable image version](https://img.shields.io/github/v/release/JcDenis/docker-dotclear)
|
||||
![Stable image version](https://img.shields.io/docker/v/jcpd/docker-dotclear?sort=semver)
|
||||
![Docker image size](https://img.shields.io/docker/image-size/jcpd/docker-dotclear/latest)
|
||||
![Stable image downloads](https://img.shields.io/docker/pulls/jcpd/docker-dotclear)
|
||||
|
||||
|
|
Loading…
Reference in a new issue