Compare commits
3 Commits
562ad8784b
...
v1.1.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a73adedcf2 | ||
| 2003b7e522 | |||
| d72df0a5a8 |
@@ -35,8 +35,11 @@ jobs:
|
||||
run: |
|
||||
if [ -f Dockerargs ]; then
|
||||
echo "Dockerargs found. Checking upstream..."
|
||||
REPO_URL=$(git config -f Dockerargs --get repo.url)
|
||||
REPO_BRANCH=$(git config -f Dockerargs --get repo.branch || echo "main")
|
||||
echo "Dockerargs found. Checking upstream..."
|
||||
# Parse repo info using awk to avoid git config restrictions on underscores in keys elsewhere in the file
|
||||
REPO_URL=$(awk -F '=' '/\[repo\]/{flag=1; next} /\[/{flag=0} flag && /^url=/{print $2}' Dockerargs | tr -d ' \r\n')
|
||||
REPO_BRANCH=$(awk -F '=' '/\[repo\]/{flag=1; next} /\[/{flag=0} flag && /^branch=/{print $2}' Dockerargs | tr -d ' \r\n')
|
||||
if [ -z "$REPO_BRANCH" ]; then REPO_BRANCH="main"; fi
|
||||
|
||||
# Fetch upstream SHA
|
||||
if [ -n "$REPO_URL" ]; then
|
||||
@@ -363,7 +366,6 @@ jobs:
|
||||
context: ${{ steps.check_upstream.outputs.upstream_needs_update == 'true' && './upstream_src' || '.' }}
|
||||
platforms: linux/amd64,linux/arm64
|
||||
push: true
|
||||
build-args: |
|
||||
build-args: |
|
||||
${{ steps.check_upstream.outputs.build_args }}
|
||||
tags: |
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
{"upstream_sha": "f2e7a1a", "updated_at": "Tue Dec 9 20:29:24 UTC 2025"}
|
||||
{
|
||||
"upstream_sha": "c1c6773",
|
||||
"updated_at": "Tue Dec 9 20:29:24 UTC 2025",
|
||||
"version": "1.1.0",
|
||||
"author": "Ivan Carlos"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user