Trying to implement manual restarts for the CI
This commit is contained in:
9
.github/workflows/docker.yml
vendored
9
.github/workflows/docker.yml
vendored
@@ -1,15 +1,10 @@
|
|||||||
name: Build and publish Docker image
|
name: Build and publish Docker image
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- v*
|
- v*
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
|
||||||
- IMAGE_NAME:
|
|
||||||
description: The name of the image to build and publish
|
|
||||||
required: false
|
|
||||||
default: mhp
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
IMAGE_NAME: mhp
|
IMAGE_NAME: mhp
|
||||||
@@ -74,4 +69,4 @@ jobs:
|
|||||||
docker tag $IMAGE_NAME $IMAGE_ID:$VERSION
|
docker tag $IMAGE_NAME $IMAGE_ID:$VERSION
|
||||||
docker push $IMAGE_ID:$VERSION
|
docker push $IMAGE_ID:$VERSION
|
||||||
docker tag $IMAGE_NAME $IMAGE_ID:latest
|
docker tag $IMAGE_NAME $IMAGE_ID:latest
|
||||||
docker push $IMAGE_ID:latest
|
docker push $IMAGE_ID:latest
|
||||||
|
|||||||
Reference in New Issue
Block a user