[PR #8737] [MERGED] fix docker build-args #59457

Closed
opened 2026-04-29 14:23:39 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/8737
Author: @mxyng
Created: 1/31/2025
Status: Merged
Merged: 1/31/2025
Merged by: @mxyng

Base: mainHead: mxyng/build


📝 Commits (1)

📊 Changes

1 file changed (+8 additions, -6 deletions)

View changed files

📝 .github/workflows/release.yaml (+8 -6)

📄 Description

env context is not accessible from job.*.strategy. since it's in the environment, just tell Docker to use the environment variable

You can also use the --build-arg flag without a value, in which case the daemon propagates the value from the local environment into the Docker container it's building

https://docs.docker.com/reference/cli/docker/buildx/build/#build-arg


🔄 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/ollama/ollama/pull/8737 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 1/31/2025 **Status:** ✅ Merged **Merged:** 1/31/2025 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/build` --- ### 📝 Commits (1) - [`a28ecbc`](https://github.com/ollama/ollama/commit/a28ecbcd7bf619daa75611fccd77cf485202f916) fix docker build-args ### 📊 Changes **1 file changed** (+8 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/release.yaml` (+8 -6) </details> ### 📄 Description `env` context is not accessible from `job.*.strategy`. since it's in the environment, just tell Docker to use the environment variable > You can also use the --build-arg flag without a value, in which case the daemon propagates the value from the local environment into the Docker container it's building https://docs.docker.com/reference/cli/docker/buildx/build/#build-arg --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-29 14:23:39 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#59457