cleanup unstable workflow

This commit is contained in:
Jean-Christian Denis 2024-11-15 16:39:26 +01:00
parent ca59ede54c
commit 660bcca746
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951

View file

@ -1,4 +1,4 @@
name: Publish Dotclear unstable image to Docker Hub name: Build and push dev image
on: on:
schedule: schedule:
@ -6,12 +6,11 @@ on:
workflow_dispatch: workflow_dispatch:
env: env:
IMAGE_NAME: jcpd/docker-dotclear:dev DOTCLEAR_IMAGE: jcpd/docker-dotclear
DOTCLEAR_CANAL: unstable DOTCLEAR_CANAL: unstable
jobs: jobs:
push_to_docker_hub: push_to_docker_hub:
name: Push Docker image to registry
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions: permissions:
packages: write packages: write
@ -37,7 +36,7 @@ jobs:
context: . context: .
sbom: true sbom: true
push: true push: true
tags: ${{ env.IMAGE_NAME }} tags: ${{ env.DOTCLEAR_IMAGE }}:dev
build-args: CANAL=${{ env.DOTCLEAR_CANAL }} build-args: CANAL=${{ env.DOTCLEAR_CANAL }}
platforms: linux/386,linux/amd64,linux/arm/V6 platforms: linux/386,linux/amd64,linux/arm/V6
@ -52,5 +51,5 @@ jobs:
message: | message: |
Image successfully generated. Image successfully generated.
__Repository:__ ${{github.repository}} __Repository:__ ${{github.repository}}
__Image:__ ${{ env.IMAGE_NAME }} __Image:__ ${{ env.DOTCLEAR_IMAGE }}
__Canal:__ ${{ env.DOTCLEAR_CANAL }} __Canal:__ ${{ env.DOTCLEAR_CANAL }}