From 53bd72c8a13a9f362c479c2c1fe75ec3b84645d7 Mon Sep 17 00:00:00 2001 From: teddy Date: Thu, 17 Oct 2024 15:52:06 -0300 Subject: [PATCH] ci: final run conditions --- .github/workflows/docker.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 074f8e0..df63efc 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -1,11 +1,13 @@ name: Docker on: - push: - branches: + - workflow_dispatch + - push: + - tags + - branches: - prod - dev - - initial-branch + - main jobs: build-and-push-image: @@ -38,6 +40,7 @@ jobs: tags: | type=sha,format=short type=raw,value=${{ github.ref_name }} + type=raw,value=latest - name: Build and push Docker image uses: docker/build-push-action@v4