Compare commits

..

10 Commits

Author SHA1 Message Date
github-actions[bot]
e8adb3c89b [dependabot skip] chore: update generated content 2026-12-04 12:33:34 +00:00
dependabot[bot]
3954dbef4d chore(deps): Bump fast-xml-parser from 5.8.0 to 5.12.1
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 5.8.0 to 5.12.1.
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v5.8.0...v5.12.1)

---
updated-dependencies:
- dependency-name: fast-xml-parser
  dependency-version: 5.12.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-12-04 12:32:37 +00:00
CrazyMax
701ce7f32c Merge pull request #1643 from crazy-max/ci-harbor-ipv4-loopback
ci(e2e): run registry setup scripts as the runner user
2026-11-26 16:32:35 +01:00
CrazyMax
cd3ff47a07 ci(e2e): run registry setup scripts as the runner user
On Ubuntu 26.04, sudo ignores -E and drops the registry settings.
Harbor then listens on its default port while Docker tries to log in
on the port configured by the workflow.

Run the registry setup scripts as the runner user so they inherit the
job environment. Use sudo within the Harbor and Nexus scripts for the
operations that need it.

Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-11-25 18:06:21 +01:00
CrazyMax
45f22b1c11 Merge pull request #1627 from mikegerber/fix-docs-git-context
docs: Fix link to Git context docs
2026-11-25 17:08:12 +01:00
CrazyMax
30030c2238 Merge pull request #1625 from docker/dependabot/github_actions/docker/bake-action-7.4.0
chore(deps): Bump docker/bake-action from 7.3.0 to 7.4.0
2026-11-25 14:41:02 +01:00
CrazyMax
562e519479 Merge pull request #1641 from crazy-max/ci-codecov-oidc
ci: use OIDC for Codecov uploads
2026-11-05 17:24:26 +01:00
CrazyMax
5c9b57d629 ci: use OIDC for Codecov uploads
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-11-05 17:09:24 +01:00
Mike Gerber
6c393912ec docs: Fix link to Git context docs
Signed-off-by: Mike Gerber <mike@mike-gerber.de>
2026-09-23 13:58:32 +02:00
dependabot[bot]
6b4b80ba04 chore(deps): Bump docker/bake-action from 7.3.0 to 7.4.0
Bumps [docker/bake-action](https://github.com/docker/bake-action) from 7.3.0 to 7.4.0.
- [Release notes](https://github.com/docker/bake-action/releases)
- [Commits](d3418bd7d0...018cb6412a)

---
updated-dependencies:
- dependency-name: docker/bake-action
  dependency-version: 7.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-17 11:52:50 +00:00
11 changed files with 231 additions and 209 deletions

View File

@@ -47,9 +47,9 @@ echo "::group::Installing Harbor"
(
cd /tmp/harbor
set -x
./install.sh
sudo -H ./install.sh
sleep 10
netstat -aptn
sudo netstat -aptn
)
echo "::endgroup::"
@@ -58,7 +58,7 @@ echo "::group::Compose config"
(
cd /tmp/harbor
set -x
docker compose config
sudo -H docker compose config
)
echo "::endgroup::"

View File

@@ -36,7 +36,7 @@ EOF
export NEXUS_VERSION
mkdir -p /tmp/nexus/data
chown 200:200 /tmp/nexus/data
sudo chown 200:200 /tmp/nexus/data
cp "${SCRIPT_DIR}/docker-compose.yml" /tmp/nexus/docker-compose.yml
echo "::group::Pulling Nexus $NEXUS_VERSION"
@@ -82,7 +82,7 @@ echo "::endgroup::"
echo "::group::Change user's password"
(
set -x
curl --fail -v -k --max-time 10 -u "$REGISTRY_USER:$(cat /tmp/nexus/data/admin.password)" -X PUT -H 'Content-Type: text/plain' -d "$REGISTRY_PASSWORD" "http://$NEXUS_HOST:$NEXUS_PORT/service/rest/v1/security/users/$REGISTRY_USER/change-password"
curl --fail -v -k --max-time 10 -u "$REGISTRY_USER:$(sudo cat /tmp/nexus/data/admin.password)" -X PUT -H 'Content-Type: text/plain' -d "$REGISTRY_PASSWORD" "http://$NEXUS_HOST:$NEXUS_PORT/service/rest/v1/security/users/$REGISTRY_USER/change-password"
)
echo "::endgroup::"

View File

@@ -93,9 +93,7 @@ jobs:
if: inputs.type == 'local'
env:
ID: ${{ inputs.id }}
run: |
sudo -E bash ./.github/e2e/${ID}/install.sh
sudo chown $(id -u):$(id -g) -R ~/.docker
run: bash "./.github/e2e/${ID}/install.sh"
-
name: Docker meta
id: meta
@@ -122,7 +120,7 @@ jobs:
-
name: Configure AWS credentials
if: inputs.provider == 'aws'
uses: aws-actions/configure-aws-credentials@e1253824e5c10ff9df46874f81ed3ec929e19cfd # v6.3.0
uses: aws-actions/configure-aws-credentials@cbe3b392738ccf3f987d68400dafcf4b0624a56c # v6.2.4
with:
role-to-assume: arn:aws:iam::175142243308:role/official_gha_cicd
aws-region: us-east-1

View File

@@ -17,13 +17,16 @@ on:
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write # for Codecov authentication
steps:
-
name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
-
name: Test
uses: docker/bake-action@d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b # v7.3.0
uses: docker/bake-action@018cb6412ab401ebaa809aa5f85966b74628600f # v7.4.0
with:
source: .
targets: test
@@ -32,4 +35,4 @@ jobs:
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
with:
files: ./coverage/clover.xml
token: ${{ secrets.CODECOV_TOKEN }}
use_oidc: true

View File

@@ -37,7 +37,7 @@ jobs:
token: ${{ steps.docker-read-app.outputs.token }}
-
name: Build
uses: docker/bake-action@d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b # v7.3.0
uses: docker/bake-action@018cb6412ab401ebaa809aa5f85966b74628600f # v7.4.0
with:
source: .
targets: build

View File

@@ -41,6 +41,6 @@ jobs:
steps:
-
name: Validate
uses: docker/bake-action@d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b # v7.3.0
uses: docker/bake-action@018cb6412ab401ebaa809aa5f85966b74628600f # v7.4.0
with:
targets: ${{ matrix.target }}

View File

@@ -43,7 +43,7 @@ In the examples below we are also using 3 other actions:
### Git context
By default, this action uses the [Git context](https://docs.docker.com/engine/reference/commandline/build/#git-repositories),
By default, this action uses the [Git context](https://docs.docker.com/build/concepts/context/#git-repositories),
so you don't need to use the [`actions/checkout`](https://github.com/actions/checkout/)
action to check out the repository as this will be done directly by [BuildKit](https://github.com/moby/buildkit).

308
dist/index.cjs generated vendored

File diff suppressed because one or more lines are too long

8
dist/index.cjs.map generated vendored

File diff suppressed because one or more lines are too long

18
dist/licenses.txt generated vendored
View File

@@ -3242,13 +3242,12 @@ terms above.
The following npm packages may be included in this product:
- @nodable/entities@2.1.0
- @nodable/entities@3.1.0
- binary@0.3.0
- browserify-zlib@0.1.4
- eastasianwidth@0.2.0
- is-gzip@1.0.0
- isarray@1.0.0
- xml-naming@0.1.0
These packages each contain the following license:
@@ -3381,7 +3380,7 @@ SOFTWARE.
The following npm package may be included in this product:
- fast-xml-parser@5.8.0
- fast-xml-parser@5.12.1
This package contains the following license:
@@ -3471,7 +3470,7 @@ SOFTWARE.
The following npm package may be included in this product:
- strnum@2.3.0
- strnum@2.5.1
This package contains the following license:
@@ -3596,7 +3595,7 @@ SOFTWARE.
The following npm package may be included in this product:
- path-expression-matcher@1.5.0
- path-expression-matcher@1.6.2
This package contains the following license:
@@ -3624,11 +3623,14 @@ SOFTWARE.
-----------
The following npm package may be included in this product:
The following npm packages may be included in this product:
- fast-xml-builder@1.2.0
- anynum@1.0.1
- fast-xml-builder@1.3.2
- is-unsafe@2.0.3
- xml-naming@0.3.1
This package contains the following license:
These packages each contain the following license:
MIT License

View File

@@ -1043,10 +1043,10 @@ __metadata:
languageName: node
linkType: hard
"@nodable/entities@npm:^2.1.0":
version: 2.1.0
resolution: "@nodable/entities@npm:2.1.0"
checksum: 10/355c55e82aebe45d4b962d16530951df51e19e3e63a27ea61ad3260c0807064619b270b9c83db10e8394f42760abd5b7f7c5b5117678c4246ce8364a4aafc637
"@nodable/entities@npm:^3.1.0":
version: 3.1.0
resolution: "@nodable/entities@npm:3.1.0"
checksum: 10/b07d97b1dac8e0bc8a124ea52cdb6d6a50a8a750592acf540e47c4740a8b96b5add8d9dcce4dfbe74e08b2ab95303c1a2078cf4ba01a085a6de88a879f45576e
languageName: node
linkType: hard
@@ -2205,6 +2205,13 @@ __metadata:
languageName: node
linkType: hard
"anynum@npm:^1.0.1":
version: 1.0.1
resolution: "anynum@npm:1.0.1"
checksum: 10/096acef76cc8b9f34d43ec37ae9ba7a3d4e2e8c722a0dd59a78995248a8eb4021713ee91b55de106366ac4eaa47578ceb0fffe9829ef01d78b20f9fd6d412a88
languageName: node
linkType: hard
"archiver-utils@npm:^5.0.0, archiver-utils@npm:^5.0.2":
version: 5.0.2
resolution: "archiver-utils@npm:5.0.2"
@@ -3386,28 +3393,29 @@ __metadata:
languageName: node
linkType: hard
"fast-xml-builder@npm:^1.2.0":
version: 1.2.0
resolution: "fast-xml-builder@npm:1.2.0"
"fast-xml-builder@npm:^1.3.2":
version: 1.3.2
resolution: "fast-xml-builder@npm:1.3.2"
dependencies:
path-expression-matcher: "npm:^1.5.0"
xml-naming: "npm:^0.1.0"
checksum: 10/5948add7796879d03b6c779cbb17f2f203a41cdf23dfaaa4789c65078a36376cd0709a6586701e980e3d244ebd5fdb35db1235ccb5e4fb9e9abfd8c51e7b8813
path-expression-matcher: "npm:^1.6.2"
xml-naming: "npm:^0.3.0"
checksum: 10/147cba62efaf1ef66598c2abb2cf816d44159fe2e24a4655a9c5e9e52ff972947d860eb24222bdb1470bf50c97f7671f67eab8d6310cc6e23201b6e021dfe731
languageName: node
linkType: hard
"fast-xml-parser@npm:^5.0.7":
version: 5.8.0
resolution: "fast-xml-parser@npm:5.8.0"
version: 5.12.1
resolution: "fast-xml-parser@npm:5.12.1"
dependencies:
"@nodable/entities": "npm:^2.1.0"
fast-xml-builder: "npm:^1.2.0"
path-expression-matcher: "npm:^1.5.0"
strnum: "npm:^2.3.0"
xml-naming: "npm:^0.1.0"
"@nodable/entities": "npm:^3.1.0"
fast-xml-builder: "npm:^1.3.2"
is-unsafe: "npm:^2.0.3"
path-expression-matcher: "npm:^1.6.2"
strnum: "npm:^2.5.1"
xml-naming: "npm:^0.3.0"
bin:
fxparser: src/cli/cli.js
checksum: 10/0167d17d5275c95e005639f8fca7b4d88fec3fd013063725280f4e982313b1c798e4565d5ced7f61ce10e8f0d876a1976492cc8ac27da3080915ff549fd00705
checksum: 10/eda4e8f1874bf58b0f6f8bde03551d45ee3ecffae0abd38e0fb523a7410ca228dbff074bcbe7e1892635cf96875165c74c491dfe9cf59fe8db6cb7d4cb505a33
languageName: node
linkType: hard
@@ -3891,6 +3899,13 @@ __metadata:
languageName: node
linkType: hard
"is-unsafe@npm:^2.0.3":
version: 2.0.3
resolution: "is-unsafe@npm:2.0.3"
checksum: 10/c3287873db0107ff00933b6cea08bb732479af2fefe3a9fe3f49086e094ba7dc7ce09d3e5ce90417a4d604cf8aaedc74c554257a75e1cacbb93e99460bb732ef
languageName: node
linkType: hard
"isarray@npm:~1.0.0":
version: 1.0.0
resolution: "isarray@npm:1.0.0"
@@ -4893,10 +4908,10 @@ __metadata:
languageName: node
linkType: hard
"path-expression-matcher@npm:^1.5.0":
version: 1.5.0
resolution: "path-expression-matcher@npm:1.5.0"
checksum: 10/28303bb9ee6831e6df14c10cd3f3f7b2d7c8d7f788d8bdb7440136fd696064c82a3e264999a0764d28e39f698275fc03a5493bec93c57ef4a22566280367dd64
"path-expression-matcher@npm:^1.6.2":
version: 1.6.2
resolution: "path-expression-matcher@npm:1.6.2"
checksum: 10/d7786b170933dd82ed897144daed7d54dbe2e7b7d8684182ee9bf51a966cc92548788e2f49280922202a0186409008d816aefa37ed4650e4038184181a73c4bd
languageName: node
linkType: hard
@@ -5632,10 +5647,12 @@ __metadata:
languageName: node
linkType: hard
"strnum@npm:^2.3.0":
version: 2.3.0
resolution: "strnum@npm:2.3.0"
checksum: 10/ce79c86bb2b96f053eb28e14924c13604e22977dcdece9aa914c25e16cc5c4bbe048976fe0b2a4decf08a1e13600b820749cea25463fc0e5fee3078339e0a457
"strnum@npm:^2.5.1":
version: 2.5.1
resolution: "strnum@npm:2.5.1"
dependencies:
anynum: "npm:^1.0.1"
checksum: 10/97918f9e6a30a9a79b4de616e09778e846f8cbce1230ed67c1b68db06e3baaf8c89e4c255ef6eafb2404b26f2bd59627e94647c2389388e5897e5707dbe98178
languageName: node
linkType: hard
@@ -6217,10 +6234,10 @@ __metadata:
languageName: node
linkType: hard
"xml-naming@npm:^0.1.0":
version: 0.1.0
resolution: "xml-naming@npm:0.1.0"
checksum: 10/45abd94ba64a508bda3f4d0b70e49811a3c3542596252c213caf47c858bbe9bba365ebba8eeff68e2a876e22a1bf6855d90cd2019b2f28012cebb167a4df2293
"xml-naming@npm:^0.3.0":
version: 0.3.1
resolution: "xml-naming@npm:0.3.1"
checksum: 10/34781e0a9c91073b37557871a246f3a9a69731bf40c1770609c14629565353881b94ba8102ba293c39ef031f628adcfe07ac47c1aea4985a1f4cfd40221aa7aa
languageName: node
linkType: hard