From b41527a2e6551a3f9fa970b36e62dfa8400c5592 Mon Sep 17 00:00:00 2001 From: Sven Holz Date: Tue, 21 Jun 2022 11:34:28 +0200 Subject: [PATCH] workflow added --- .github/workflows/git2docker.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/git2docker.yml b/.github/workflows/git2docker.yml index 34c368d..9447b10 100644 --- a/.github/workflows/git2docker.yml +++ b/.github/workflows/git2docker.yml @@ -3,10 +3,18 @@ name: CI to Docker Hub # Controls when the workflow will run -on: +##on: # Triggers the workflow on push or pull request events but only for the "master" branch +## push: +## branches: [ "master" ] + + +# Only update with new tag pushed +on: push: - branches: [ "master" ] + tags: + - "v*.*" + # Allows you to run this workflow manually from the Actions tab workflow_dispatch: