diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 074f8e0..6b12cc4 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