action only in master branch

This commit is contained in:
Luis Fernando committed 2021-03-06 23:40:53 -03:00
1 parent b2adf284a4
commit 2de9b52c11
1 file changed
+3 -6
+3 -6
View File
@@ -1,9 +1,8 @@
name: Publish Docker image
#on:
# release:
# types: [published]
on: push
on:
push:
- master
jobs:
publish:
@@ -25,8 +24,6 @@ jobs:
TAGS="${TAGS},${IMAGE}:latest"
fi
echo ::set-output name=tags::${TAGS}
#- name: Docker Buildx setup
# uses: docker/setup-buildx-action@v1
- name: Login in to registry
uses: docker/login-action@v1
with: