From 4e36cb44e7d291bd3dcfe1e76f63ffa73e55b00e Mon Sep 17 00:00:00 2001 From: Anshul Sharma Date: Sat, 12 Apr 2025 20:45:41 +0530 Subject: [PATCH] Updated versioning --- .github/workflows/docker_build.yaml | 3 ++- VERSION | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 VERSION diff --git a/.github/workflows/docker_build.yaml b/.github/workflows/docker_build.yaml index 3300041..5dce26c 100644 --- a/.github/workflows/docker_build.yaml +++ b/.github/workflows/docker_build.yaml @@ -31,8 +31,9 @@ jobs: id: meta uses: docker/metadata-action@v5 with: + images: ghcr.io/${{ github.repository_owner }}/surfsense_backend tags: | - type=semver,pattern={{major}}.{{minor}} + type=raw,value=./surfsense_backend/VERSION - name: Build and push Docker image uses: docker/build-push-action@v5 diff --git a/VERSION b/VERSION new file mode 100644 index 0000000..8a9ecc2 --- /dev/null +++ b/VERSION @@ -0,0 +1 @@ +0.0.1 \ No newline at end of file