diff --git a/.github/workflows/publish-docker-image.yml b/.github/workflows/publish-docker-image.yml index 4f67930..b4f7020 100644 --- a/.github/workflows/publish-docker-image.yml +++ b/.github/workflows/publish-docker-image.yml @@ -2,13 +2,7 @@ name: Build and Publish Docker Image # refer to https://github.com/actions/starter-workflows/blob/main/ci/docker-publish.yml -on: - # Trigger the workflow on push or pull request, - # but only for the main branch - push: - branches: - - main - - dev +on: workflow_dispatch env: # Use docker.io for Docker Hub if empty @@ -62,4 +56,4 @@ jobs: context: . push: ${{ github.event_name != 'pull_request' }} tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} \ No newline at end of file + labels: ${{ steps.meta.outputs.labels }}