Trying to implement manual restarts for the CI

This commit is contained in:
Aj - Thomas
2022-05-11 09:13:36 +02:00
parent 49e454b6ce
commit 7ba85aeb4e

View File

@@ -1,15 +1,10 @@
name: Build and publish Docker image
on:
on:
push:
tags:
- v*
workflow_dispatch:
inputs:
- IMAGE_NAME:
description: The name of the image to build and publish
required: false
default: mhp
env:
IMAGE_NAME: mhp
@@ -74,4 +69,4 @@ jobs:
docker tag $IMAGE_NAME $IMAGE_ID:$VERSION
docker push $IMAGE_ID:$VERSION
docker tag $IMAGE_NAME $IMAGE_ID:latest
docker push $IMAGE_ID:latest
docker push $IMAGE_ID:latest