Skip to content

Commit

Permalink
Update publish-docker-image.yml
Browse files Browse the repository at this point in the history
trigger on workflow_dispatch
  • Loading branch information
john-shine authored Jan 13, 2024
1 parent 1652012 commit c48d798
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/publish-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -62,4 +56,4 @@ jobs:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit c48d798

Please sign in to comment.