Compare commits
3 Commits
562ad8784b
...
v1.1.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a73adedcf2 | ||
| 2003b7e522 | |||
| d72df0a5a8 |
@@ -35,8 +35,11 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
if [ -f Dockerargs ]; then
|
if [ -f Dockerargs ]; then
|
||||||
echo "Dockerargs found. Checking upstream..."
|
echo "Dockerargs found. Checking upstream..."
|
||||||
REPO_URL=$(git config -f Dockerargs --get repo.url)
|
echo "Dockerargs found. Checking upstream..."
|
||||||
REPO_BRANCH=$(git config -f Dockerargs --get repo.branch || echo "main")
|
# 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
|
# Fetch upstream SHA
|
||||||
if [ -n "$REPO_URL" ]; then
|
if [ -n "$REPO_URL" ]; then
|
||||||
@@ -363,7 +366,6 @@ jobs:
|
|||||||
context: ${{ steps.check_upstream.outputs.upstream_needs_update == 'true' && './upstream_src' || '.' }}
|
context: ${{ steps.check_upstream.outputs.upstream_needs_update == 'true' && './upstream_src' || '.' }}
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
push: true
|
push: true
|
||||||
build-args: |
|
|
||||||
build-args: |
|
build-args: |
|
||||||
${{ steps.check_upstream.outputs.build_args }}
|
${{ steps.check_upstream.outputs.build_args }}
|
||||||
tags: |
|
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