Skip to content

Commit 1b9a80c

Browse files
feat: v5 (#327)
* feat: update runtime to node 24 * fix: deps * feat: update create token endpoint (#311) /v2/users/login was deprecated in favor of using /v2/auth/token to create access tokens. Switching endpoints adds support for creating auth tokens from OATs. * fix: use correct response property * feat: switch to native fetch * fix: method name --------- Co-authored-by: Ian Pittwood <pittwoodian@gmail.com>
1 parent ef9b19a commit 1b9a80c

File tree

10 files changed

+1804
-6547
lines changed

10 files changed

+1804
-6547
lines changed

.eslintrc.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,10 @@
1414
"plugins": ["@typescript-eslint"],
1515
"rules": {
1616
"@typescript-eslint/camelcase": "off"
17+
},
18+
"settings": {
19+
"import/resolver": {
20+
"typescript": {}
21+
}
1722
}
1823
}

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- uses: actions/checkout@v5
2323
- uses: actions/setup-node@v5
2424
with:
25-
node-version: 20.x
25+
node-version-file: package.json
2626
cache: npm
2727
- run: npm ci
2828
- run: npm run build

.github/workflows/update-major-version.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
type: choice
1212
description: The major version tag to update
1313
options:
14-
- v4
14+
- v5
1515

1616
jobs:
1717
tag:

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This is useful if you `docker push` your images to Docker Hub. It provides an ea
1111
- uses: actions/checkout@v4
1212

1313
- name: Docker Hub Description
14-
uses: peter-evans/dockerhub-description@v4
14+
uses: peter-evans/dockerhub-description@v5
1515
with:
1616
username: ${{ secrets.DOCKERHUB_USERNAME }}
1717
password: ${{ secrets.DOCKERHUB_PASSWORD }}
@@ -44,7 +44,7 @@ If this is not the case the path can be specified with the `readme-filepath` inp
4444

4545
```yml
4646
- name: Docker Hub Description
47-
uses: peter-evans/dockerhub-description@v4
47+
uses: peter-evans/dockerhub-description@v5
4848
with:
4949
username: ${{ secrets.DOCKERHUB_USERNAME }}
5050
password: ${{ secrets.DOCKERHUB_PASSWORD }}
@@ -58,7 +58,7 @@ The GitHub repository description can be used for the Docker Hub `short-descript
5858

5959
```yml
6060
- name: Docker Hub Description
61-
uses: peter-evans/dockerhub-description@v4
61+
uses: peter-evans/dockerhub-description@v5
6262
with:
6363
username: ${{ secrets.DOCKERHUB_USERNAME }}
6464
password: ${{ secrets.DOCKERHUB_PASSWORD }}
@@ -86,7 +86,7 @@ jobs:
8686
- uses: actions/checkout@v4
8787
8888
- name: Docker Hub Description
89-
uses: peter-evans/dockerhub-description@v4
89+
uses: peter-evans/dockerhub-description@v5
9090
with:
9191
username: ${{ secrets.DOCKERHUB_USERNAME }}
9292
password: ${{ secrets.DOCKERHUB_PASSWORD }}
@@ -107,7 +107,7 @@ jobs:
107107
- uses: actions/checkout@v4
108108
109109
- name: Docker Hub Description
110-
uses: peter-evans/dockerhub-description@v4
110+
uses: peter-evans/dockerhub-description@v5
111111
with:
112112
username: ${{ secrets.DOCKERHUB_USERNAME }}
113113
password: ${{ secrets.DOCKERHUB_PASSWORD }}

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ inputs:
2727
File extensions that will be treated as images
2828
Default: `bmp,gif,jpg,jpeg,png,svg,webp`
2929
runs:
30-
using: 'node20'
30+
using: 'node24'
3131
main: 'dist/index.js'
3232
branding:
3333
icon: 'upload'

0 commit comments

Comments
 (0)