Skip to content

Commit

Permalink
updated docker publish trigger to release creation
Browse files Browse the repository at this point in the history
Signed-off-by: Ayan Sen <[email protected]>
  • Loading branch information
ayansen committed Jan 5, 2024
1 parent 9409b80 commit 816a9e9
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#
name: Create and publish a Docker image
name: Create a release and rush the containers to Registry

# Configures this workflow to run every time a change is pushed to the branch called `release`.
on:
push:
branches: ['main']
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:
Expand Down

0 comments on commit 816a9e9

Please sign in to comment.