Skip to content

Commit 1c57d6c

Browse files
author
Adriano Sanges
committed
add more github actions triggers
1 parent e9b0b74 commit 1c57d6c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/docker-image.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ name: Create and publish a Docker image
44
# Configures this workflow to run every time a change is pushed to the branch called `release`.
55
on:
66
push:
7-
branches: ['release']
7+
branches: ['main']
8+
release:
9+
types: [published]
810

911
# 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.
1012
env:

0 commit comments

Comments
 (0)