mirror of
https://github.com/docker/metadata-action.git
synced 2026-02-11 14:28:18 +00:00
Compare commits
4 Commits
92550d22a1
...
a16cd522e5
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a16cd522e5 | ||
|
|
362cddef25 | ||
|
|
a60f0f62b5 | ||
|
|
10f4f1aaa5 |
49
.github/workflows/update-dist.yml
vendored
Normal file
49
.github/workflows/update-dist.yml
vendored
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
name: update-dist
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
- synchronize
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
update-dist:
|
||||||
|
if: github.actor == 'dependabot[bot]'
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
-
|
||||||
|
name: GitHub auth token from GitHub App
|
||||||
|
id: docker-read-app
|
||||||
|
uses: actions/create-github-app-token@v2
|
||||||
|
with:
|
||||||
|
app-id: ${{ secrets.GHACTIONS_REPO_WRITE_APP_ID }}
|
||||||
|
private-key: ${{ secrets.GHACTIONS_REPO_WRITE_APP_PRIVATE_KEY }}
|
||||||
|
owner: docker
|
||||||
|
-
|
||||||
|
name: Checkout
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
with:
|
||||||
|
ref: ${{ github.event.pull_request.head.ref }}
|
||||||
|
fetch-depth: 0
|
||||||
|
token: ${{ steps.docker-read-app.outputs.token || github.token }}
|
||||||
|
-
|
||||||
|
name: Build
|
||||||
|
uses: docker/bake-action@v6
|
||||||
|
with:
|
||||||
|
source: .
|
||||||
|
targets: build
|
||||||
|
-
|
||||||
|
name: Commit and push dist
|
||||||
|
run: |
|
||||||
|
if [ -n "$(git status --porcelain -- dist)" ]; then
|
||||||
|
(
|
||||||
|
set -x
|
||||||
|
git config user.name "github-actions[bot]"
|
||||||
|
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||||
|
git add dist
|
||||||
|
git commit -m "chore: update generated content"
|
||||||
|
git push
|
||||||
|
)
|
||||||
|
else
|
||||||
|
echo "No changes in dist"
|
||||||
|
fi
|
||||||
82
dist/index.js
generated
vendored
82
dist/index.js
generated
vendored
File diff suppressed because one or more lines are too long
2
dist/index.js.map
generated
vendored
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
22
yarn.lock
22
yarn.lock
@@ -34,12 +34,12 @@ __metadata:
|
|||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@actions/cache@npm:^5.0.3":
|
"@actions/cache@npm:^5.0.3":
|
||||||
version: 5.0.4
|
version: 5.0.5
|
||||||
resolution: "@actions/cache@npm:5.0.4"
|
resolution: "@actions/cache@npm:5.0.5"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@actions/core": "npm:^2.0.0"
|
"@actions/core": "npm:^2.0.0"
|
||||||
"@actions/exec": "npm:^2.0.0"
|
"@actions/exec": "npm:^2.0.0"
|
||||||
"@actions/glob": "npm:^0.5.0"
|
"@actions/glob": "npm:^0.5.1"
|
||||||
"@actions/http-client": "npm:^3.0.2"
|
"@actions/http-client": "npm:^3.0.2"
|
||||||
"@actions/io": "npm:^2.0.0"
|
"@actions/io": "npm:^2.0.0"
|
||||||
"@azure/abort-controller": "npm:^1.1.0"
|
"@azure/abort-controller": "npm:^1.1.0"
|
||||||
@@ -47,11 +47,11 @@ __metadata:
|
|||||||
"@azure/storage-blob": "npm:^12.29.1"
|
"@azure/storage-blob": "npm:^12.29.1"
|
||||||
"@protobuf-ts/runtime-rpc": "npm:^2.11.1"
|
"@protobuf-ts/runtime-rpc": "npm:^2.11.1"
|
||||||
semver: "npm:^6.3.1"
|
semver: "npm:^6.3.1"
|
||||||
checksum: 10/1d116d51388eb7fe63b294136bf008594d40acf7ece0e39b288ae94d19949b32401532d6f84261dc2e66dbc0d76ef7d9cee620b7d14969799338eb062e624bf5
|
checksum: 10/008cd7005ddd2f2c7b531836695200131ef0d6a71d3e179d8d17a01afce2d4a14340e5e750161bd247c5da033e3ca197d64431f91f183846b725d97990c035a4
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@actions/core@npm:^1.11.1, @actions/core@npm:^1.9.1":
|
"@actions/core@npm:^1.11.1":
|
||||||
version: 1.11.1
|
version: 1.11.1
|
||||||
resolution: "@actions/core@npm:1.11.1"
|
resolution: "@actions/core@npm:1.11.1"
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -61,7 +61,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@actions/core@npm:^2.0.0, @actions/core@npm:^2.0.1, @actions/core@npm:^2.0.2":
|
"@actions/core@npm:^2.0.0, @actions/core@npm:^2.0.1, @actions/core@npm:^2.0.2, @actions/core@npm:^2.0.3":
|
||||||
version: 2.0.3
|
version: 2.0.3
|
||||||
resolution: "@actions/core@npm:2.0.3"
|
resolution: "@actions/core@npm:2.0.3"
|
||||||
dependencies:
|
dependencies:
|
||||||
@@ -119,13 +119,13 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@actions/glob@npm:^0.5.0":
|
"@actions/glob@npm:^0.5.1":
|
||||||
version: 0.5.0
|
version: 0.5.1
|
||||||
resolution: "@actions/glob@npm:0.5.0"
|
resolution: "@actions/glob@npm:0.5.1"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@actions/core": "npm:^1.9.1"
|
"@actions/core": "npm:^2.0.3"
|
||||||
minimatch: "npm:^3.0.4"
|
minimatch: "npm:^3.0.4"
|
||||||
checksum: 10/70f6e3f171e73701738ab0bac88eea6152ee472d299ed1535238eff3f2f735f9928be4803960b84f21e38f2681bf6dd97fa5644f810c8d12d01b111b03285be5
|
checksum: 10/a23e3631ea497e3c0b96933c4cbedff4433433bf9e8d03e6853dc57fb7fd68dee70ebbbf0eaf8c9283460f687a1384ba632222c97ed89fdd1c4a69c7781c678d
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user