This PR introduces an improved tagging strategy for Docker images, aiming to streamline image versioning and identification.
Changes Introduced:
Dynamic Tagging: Implemented dynamic generation of Docker image tags based on the git commit SHA (prefixed with git-), branch names, tags (including semantic versioning), and the special latest tag for the most recent build from the main branch.
Benefits:
Improved Traceability: Easily identify and pull images based on specific commits, branches, or release versions.
Simplified Deployment: Use the latest tag for deploying the most recent version without specifying a specific tag.
These updates enhance the Docker workflow's flexibility and usability, supporting more efficient development and deployment processes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/open-webui/open-webui/pull/739
**Author:** [@justinh-rahb](https://github.com/justinh-rahb)
**Created:** 2/15/2024
**Status:** ✅ Merged
**Merged:** 2/15/2024
**Merged by:** [@tjbck](https://github.com/tjbck)
**Base:** `main` ← **Head:** `docker-action`
---
### 📝 Commits (1)
- [`a6bb452`](https://github.com/open-webui/open-webui/commit/a6bb45200be819d10468deb4a6f7831b95bd21e7) Add Docker tags
### 📊 Changes
**1 file changed** (+11 additions, -5 deletions)
<details>
<summary>View changed files</summary>
📝 `.github/workflows/docker-build.yaml` (+11 -5)
</details>
### 📄 Description
<img width="743" alt="Screenshot 2024-02-15 at 12 02 02 AM copy" src="https://github.com/ollama-webui/ollama-webui/assets/52832301/f0748de1-bb3f-437c-a13f-9f2e91fc5d0e">
This PR introduces an improved tagging strategy for Docker images, aiming to streamline image versioning and identification.
#### Changes Introduced:
- **Dynamic Tagging**: Implemented dynamic generation of Docker image tags based on the git commit SHA (prefixed with `git-`), branch names, tags (including semantic versioning), and the special `latest` tag for the most recent build from the `main` branch.
#### Benefits:
- **Improved Traceability**: Easily identify and pull images based on specific commits, branches, or release versions.
- **Simplified Deployment**: Use the `latest` tag for deploying the most recent version without specifying a specific tag.
These updates enhance the Docker workflow's flexibility and usability, supporting more efficient development and deployment processes.
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/739
Author: @justinh-rahb
Created: 2/15/2024
Status: ✅ Merged
Merged: 2/15/2024
Merged by: @tjbck
Base:
main← Head:docker-action📝 Commits (1)
a6bb452Add Docker tags📊 Changes
1 file changed (+11 additions, -5 deletions)
View changed files
📝
.github/workflows/docker-build.yaml(+11 -5)📄 Description
This PR introduces an improved tagging strategy for Docker images, aiming to streamline image versioning and identification.
Changes Introduced:
git-), branch names, tags (including semantic versioning), and the speciallatesttag for the most recent build from themainbranch.Benefits:
latesttag for deploying the most recent version without specifying a specific tag.These updates enhance the Docker workflow's flexibility and usability, supporting more efficient development and deployment processes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.