mirror of
https://github.com/docker/login-action.git
synced 2026-06-30 13:31:52 +08:00
Compare commits
1 Commits
dependabot
...
d6a09af5ee
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d6a09af5ee |
55
.github/workflows/ci.yml
vendored
55
.github/workflows/ci.yml
vendored
@@ -195,33 +195,6 @@ jobs:
|
||||
with:
|
||||
registry: 175142243308.dkr.ecr.us-east-1.amazonaws.com
|
||||
|
||||
ecr-oidc:
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os:
|
||||
- ubuntu-latest
|
||||
- windows-latest
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
-
|
||||
name: Configure AWS Credentials
|
||||
uses: aws-actions/configure-aws-credentials@acca2b1b2070338fb9fd1ca27ecee81d687e58e5 # v6.1.2
|
||||
with:
|
||||
role-to-assume: arn:aws:iam::175142243308:role/official_gha_cicd_login_action
|
||||
aws-region: us-east-1
|
||||
-
|
||||
name: Login to ECR
|
||||
uses: ./
|
||||
with:
|
||||
registry: 175142243308.dkr.ecr.us-east-1.amazonaws.com
|
||||
|
||||
ecr-public:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
@@ -271,34 +244,6 @@ jobs:
|
||||
with:
|
||||
registry: public.ecr.aws
|
||||
|
||||
ecr-public-oidc:
|
||||
permissions:
|
||||
contents: read
|
||||
id-token: write
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os:
|
||||
- ubuntu-latest
|
||||
- windows-latest
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
-
|
||||
name: Configure AWS Credentials
|
||||
uses: aws-actions/configure-aws-credentials@acca2b1b2070338fb9fd1ca27ecee81d687e58e5 # v6.1.2
|
||||
with:
|
||||
role-to-assume: arn:aws:iam::175142243308:role/official_gha_cicd_login_action
|
||||
aws-region: us-east-1
|
||||
-
|
||||
name: Login to Public ECR
|
||||
continue-on-error: ${{ matrix.os == 'windows-latest' }}
|
||||
uses: ./
|
||||
with:
|
||||
registry: public.ecr.aws
|
||||
|
||||
ghcr:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
|
||||
2
.github/workflows/pr-assign-author.yml
vendored
2
.github/workflows/pr-assign-author.yml
vendored
@@ -11,7 +11,7 @@ on:
|
||||
|
||||
jobs:
|
||||
run:
|
||||
uses: crazy-max/.github/.github/workflows/pr-assign-author.yml@9ba6e6f9450baf3b1237f8035c1fdc45932510bd # v1.8.0
|
||||
uses: crazy-max/.github/.github/workflows/pr-assign-author.yml@716fd1c51a46c5d93a41d44a94b439c9ee802536 # v1.10.0
|
||||
permissions:
|
||||
contents: read
|
||||
pull-requests: write
|
||||
|
||||
2
.github/workflows/zizmor.yml
vendored
2
.github/workflows/zizmor.yml
vendored
@@ -19,7 +19,7 @@ on:
|
||||
|
||||
jobs:
|
||||
zizmor:
|
||||
uses: crazy-max/.github/.github/workflows/zizmor.yml@9ba6e6f9450baf3b1237f8035c1fdc45932510bd # v1.8.0
|
||||
uses: crazy-max/.github/.github/workflows/zizmor.yml@716fd1c51a46c5d93a41d44a94b439c9ee802536 # v1.10.0
|
||||
permissions:
|
||||
contents: read
|
||||
security-events: write
|
||||
|
||||
@@ -17,7 +17,7 @@ FROM base AS deps
|
||||
RUN --mount=type=bind,target=.,rw \
|
||||
--mount=type=cache,target=/src/.yarn/cache \
|
||||
--mount=type=cache,target=/src/node_modules \
|
||||
yarn install --immutable && mkdir /vendor && cp yarn.lock /vendor
|
||||
yarn install && mkdir /vendor && cp yarn.lock /vendor
|
||||
|
||||
FROM scratch AS vendor-update
|
||||
COPY --from=deps /vendor /
|
||||
|
||||
324
dist/index.cjs
generated
vendored
324
dist/index.cjs
generated
vendored
File diff suppressed because one or more lines are too long
4
dist/index.cjs.map
generated
vendored
4
dist/index.cjs.map
generated
vendored
File diff suppressed because one or more lines are too long
1
dist/licenses.txt
generated
vendored
1
dist/licenses.txt
generated
vendored
@@ -398,6 +398,7 @@ Apache License
|
||||
The following npm packages may be included in this product:
|
||||
|
||||
- @sigstore/bundle@4.0.0
|
||||
- @sigstore/core@3.2.0
|
||||
- @sigstore/core@3.2.1
|
||||
- @sigstore/protobuf-specs@0.5.0
|
||||
- @sigstore/sign@4.1.1
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"type": "module",
|
||||
"main": "src/main.ts",
|
||||
"scripts": {
|
||||
"build": "esbuild src/main.ts --bundle --platform=node --target=node24 --format=cjs --outfile=dist/index.cjs --sourcemap --minify --keep-names && yarn run license",
|
||||
"build": "esbuild src/main.ts --bundle --platform=node --target=node24 --format=cjs --outfile=dist/index.cjs --sourcemap --minify && yarn run license",
|
||||
"lint": "eslint --max-warnings=0 .",
|
||||
"format": "eslint --fix .",
|
||||
"test": "vitest run",
|
||||
|
||||
16
yarn.lock
16
yarn.lock
@@ -1956,7 +1956,21 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@sigstore/core@npm:^3.1.0, @sigstore/core@npm:^3.2.0, @sigstore/core@npm:^3.2.1":
|
||||
"@sigstore/core@npm:^3.1.0":
|
||||
version: 3.1.0
|
||||
resolution: "@sigstore/core@npm:3.1.0"
|
||||
checksum: 10/c7a2e2d32f52494b40d9c469bc2241cc5d14d5f93fa028f099dcfe403443713f90ef3178684ee11c32e078a4b9fad79500746dfef10f10044c7fa00c909f3760
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@sigstore/core@npm:^3.2.0":
|
||||
version: 3.2.0
|
||||
resolution: "@sigstore/core@npm:3.2.0"
|
||||
checksum: 10/2425d20297d57a5f5a62f0e6c2f4280818015ea00b3defebdac63f13c7d01db988602c316c16e374ba091c3649dd9a22ae8c9ba3ac165f736b0503164c5da5f5
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@sigstore/core@npm:^3.2.1":
|
||||
version: 3.2.1
|
||||
resolution: "@sigstore/core@npm:3.2.1"
|
||||
checksum: 10/2f6c1ced55f8ed3f7fc705a668eb95db9471511dfb1f054927822bf97a051dd62228ecf6a9f1932d240c2c4ae69a3b5066550789e5ad8f4257839a4370e5a120
|
||||
|
||||
Reference in New Issue
Block a user