Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit 1d56843

Browse files
committed
chore: run docker release as part of rc
1 parent 98e3c72 commit 1d56843

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,9 @@ jobs:
2121
git config --global user.email "[email protected]"
2222
git config --global user.name "Github Actions"
2323
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc
24+
echo "$DOCKER_TOKEN" | docker login -u "$DOCKER_USERNAME" --password-stdin
2425
npm install
2526
npm run release:rc
26-
echo "$DOCKER_TOKEN" | docker login -u "$DOCKER_USERNAME" --password-stdin
27-
npm run docker:rc
2827
env:
2928
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3029
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"docker:release:tag-version": "docker tag js-ipfs:latest docker.io/ipfs/js-ipfs:v`npm show ipfs@latest version -q`",
3636
"docker:release:push-latest": "docker push ipfs/js-ipfs:latest",
3737
"docker:release:push-version": "docker push ipfs/js-ipfs:v`npm show ipfs@latest version -q`",
38-
"release:rc": "run-s release:pre:non-dirty-repo release:pre:reinstall release:canary",
38+
"release:rc": "run-s release:pre:non-dirty-repo release:pre:reinstall release:canary docker:rc",
3939
"release:canary": "lerna publish --canary --preid rc --dist-tag next --force-publish --yes",
4040
"docker:rc": "run-s docker:rc:*",
4141
"docker:rc:build": "docker build . --no-cache --tag js-ipfs:next --file ./Dockerfile.next",

0 commit comments

Comments
 (0)