From af6d65a909174d016a6b74d7921d75931ecc4e7d Mon Sep 17 00:00:00 2001 From: Debanjum Singh Solanky Date: Tue, 14 Feb 2023 19:53:35 -0600 Subject: [PATCH] Create tagged Docker image on new tag/release --- .github/workflows/{build.yml => dockerize.yml} | 6 ++++-- README.md | 2 +- tests/data/markdown/main_readme.md | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) rename .github/workflows/{build.yml => dockerize.yml} (92%) diff --git a/.github/workflows/build.yml b/.github/workflows/dockerize.yml similarity index 92% rename from .github/workflows/build.yml rename to .github/workflows/dockerize.yml index dec6e5ec..c5c1fe76 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/dockerize.yml @@ -1,7 +1,9 @@ -name: build +name: dockerize on: push: + tags: + - "*" branches: - master paths: @@ -10,7 +12,7 @@ on: - setup.py - Dockerfile - docker-compose.yml - - .github/workflows/build.yml + - .github/workflows/dockerize.yml workflow_dispatch: env: diff --git a/README.md b/README.md index 0cea42b5..7298fc64 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Khoj 🦅 -[![build](https://github.com/debanjum/khoj/actions/workflows/build.yml/badge.svg)](https://github.com/debanjum/khoj/actions/workflows/build.yml) [![test](https://github.com/debanjum/khoj/actions/workflows/test.yml/badge.svg)](https://github.com/debanjum/khoj/actions/workflows/test.yml) +[![dockerize](https://github.com/debanjum/khoj/actions/workflows/dockerize.yml/badge.svg)](https://github.com/debanjum/khoj/pkgs/container/khoj) [![pypi](https://github.com/debanjum/khoj/actions/workflows/pypi.yml/badge.svg)](https://pypi.org/project/khoj-assistant/) *A natural language search engine for your personal notes, transactions and images* diff --git a/tests/data/markdown/main_readme.md b/tests/data/markdown/main_readme.md index d2f11e9e..99250657 100644 --- a/tests/data/markdown/main_readme.md +++ b/tests/data/markdown/main_readme.md @@ -1,5 +1,5 @@ ![](https://github.com/debanjum/khoj/actions/workflows/test.yml/badge.svg) -![](https://github.com/debanjum/khoj/actions/workflows/build.yml/badge.svg) +![](https://github.com/debanjum/khoj/actions/workflows/dockerize.yml/badge.svg) # Khoj