Skip to content

Commit

Permalink
Only Publish docker image upon release
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijrajsharma authored Feb 15, 2024
1 parent 2eb5bbc commit e044f67
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/docker-image-build-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@ name: Create and publish a Docker image

# Configures this workflow to run every time a change is pushed to the branch called `release`.
on:
push:
branches:
- master
release:
types: [published]
# Defines two custom environment variables for the workflow. These are used for the Container registry domain, and a name for the Docker image that this workflow builds.
env:
REGISTRY: ghcr.io
Expand Down

0 comments on commit e044f67

Please sign in to comment.