diff --git a/.github/workflows/dockerhub-publish.yml b/.github/workflows/publish-image.yml similarity index 93% rename from .github/workflows/dockerhub-publish.yml rename to .github/workflows/publish-image.yml index 17f3cc12f0..9183b0eca5 100644 --- a/.github/workflows/dockerhub-publish.yml +++ b/.github/workflows/publish-image.yml @@ -19,9 +19,10 @@ name: Publish Docker image on: workflow_dispatch: - push: - tags: - - 'v*' + inputs: + version: + description: Version to release + required: true jobs: horaemeta: @@ -43,7 +44,7 @@ jobs: context: . push: true file: horaemeta/Dockerfile - tags: apache/horaemeta-server:latest,apache/horaemeta-server:${{github.ref_name}} + tags: apache/horaemeta-server:latest,apache/horaemeta-server:${{ inputs.version }} horaedb: if: github.repository_owner == 'apache' @@ -63,4 +64,4 @@ jobs: with: context: . push: true - tags: apache/horaedb-server:latest,apache/horaedb-server:${{github.ref_name}} + tags: apache/horaedb-server:latest,apache/horaedb-server:${{ inputs.version }} diff --git a/.github/workflows/docker-build-image.yml b/.github/workflows/test-build-image.yml similarity index 100% rename from .github/workflows/docker-build-image.yml rename to .github/workflows/test-build-image.yml