File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change 11name : runner-push-to-fit2cloud
22
33on :
4- release :
5- types :
6- - published
74 workflow_dispatch :
5+ inputs :
6+ dockerImageTag :
7+ description : ' Docker Image Tag'
8+ default : ' v3.x'
9+ required : true
10+
811
912jobs :
1013 build-and-push :
1720 run : |
1821 DOCKER_IMAGE=registry.fit2cloud.com/metersphere/task-runner
1922 DOCKER_PLATFORMS=linux/amd64,linux/arm64
20- TAG_NAME=${{ github.event.release.tag_name }}-python
23+ TAG_NAME=${{ github.event.inputs.dockerImageTag }}-python
2124 DOCKER_IMAGE_TAGS="--tag ${DOCKER_IMAGE}:${TAG_NAME}"
2225 echo ::set-output name=docker_image::${DOCKER_IMAGE}
2326 echo ::set-output name=version::${TAG_NAME}
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ ARG IMG_TAG=v3.x
33FROM registry.fit2cloud.com/metersphere/metersphere-ce:${IMG_TAG} as task-runner
44
55
6- FROM ghcr.io/graalvm/graalpy-community:24.1.1
6+ FROM ghcr.io/graalvm/graalpy-community:24.1.2
77
88COPY --from=task-runner /metersphere /metersphere
99COPY --from=task-runner /task-runner /task-runner
@@ -18,4 +18,4 @@ RUN yum install -y java-21-openjdk
1818RUN useradd -m appuser
1919RUN echo 'appuser:appuser' | chpasswd
2020
21- VOLUME ["/app/graalenv"]
21+ VOLUME ["/app/graalenv"]
You can’t perform that action at this time.
0 commit comments