Skip to content

Commit

Permalink
update image for js-build 2.0 & js-pack 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sfwn committed Jul 1, 2024
1 parent 2a71d26 commit 6ee7a79
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ dice-deploy-domain dice-deploy-release dice-deploy-redeploy dice-deploy-rollback
dockerfile docker-push php gitbook js-script sonar integration-test unit-test api-test java-lint testplan java-dependency-check golang java-unit android ios \
mobile-template lib-publish mobile-publish java-deploy extract-repo-version release-fetch dingtalk-robot-msg oss-upload delete-nodes ess-info loop api-register \
api-publish publish-api-asset mysqldump archive-release erda-get-addon-info erda-get-service-addr erda-mysql-migration push-extensions archive-extensions \
testscene-run testplan-run contrast-security erda-create-custom-addon project-artifacts project-package semgrep:
testscene-run testplan-run contrast-security erda-create-custom-addon project-artifacts project-package semgrep js-pack:

@set -eo pipefail

Expand Down
2 changes: 1 addition & 1 deletion actions/js-build/2.0/dice.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
### job 配置项
jobs:
js-build:
image: registry.erda.cloud/erda-actions/js-build-action:2.0-20230830111908-484b8b5
image: registry.erda.cloud/erda-actions/js-build-action:2.0-20240701142326-2a71d26
envs:
ACTION_NODE_VERSION: "20"
BP_DOCKER_BASE_REGISTRY: registry.erda.cloud
Expand Down
2 changes: 1 addition & 1 deletion actions/js-pack/1.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | b
&& nvm alias default v14.19.0 \
&& nvm use default

COPY run /opt/action/run
COPY actions/js-pack/1.0/index.js /opt/action/run

RUN chmod 777 /opt/action/run
2 changes: 1 addition & 1 deletion actions/js-pack/1.0/dice.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
### job 配置项
jobs:
js-build:
image: registry.erda.cloud/erda-actions/js-pack:1.0
image: registry.erda.cloud/erda-actions/js-pack-action:1.0-20240701144230-2a71d26
resources:
cpu: 1
mem: 2048

0 comments on commit 6ee7a79

Please sign in to comment.