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

Commit

Permalink
chore: run docker release as part of rc
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Sep 23, 2021
1 parent 98e3c72 commit 1d56843
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ jobs:
git config --global user.email "actions@github.com"
git config --global user.name "Github Actions"
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > .npmrc
echo "$DOCKER_TOKEN" | docker login -u "$DOCKER_USERNAME" --password-stdin
npm install
npm run release:rc
echo "$DOCKER_TOKEN" | docker login -u "$DOCKER_USERNAME" --password-stdin
npm run docker:rc
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"docker:release:tag-version": "docker tag js-ipfs:latest docker.io/ipfs/js-ipfs:v`npm show ipfs@latest version -q`",
"docker:release:push-latest": "docker push ipfs/js-ipfs:latest",
"docker:release:push-version": "docker push ipfs/js-ipfs:v`npm show ipfs@latest version -q`",
"release:rc": "run-s release:pre:non-dirty-repo release:pre:reinstall release:canary",
"release:rc": "run-s release:pre:non-dirty-repo release:pre:reinstall release:canary docker:rc",
"release:canary": "lerna publish --canary --preid rc --dist-tag next --force-publish --yes",
"docker:rc": "run-s docker:rc:*",
"docker:rc:build": "docker build . --no-cache --tag js-ipfs:next --file ./Dockerfile.next",
Expand Down

0 comments on commit 1d56843

Please sign in to comment.