Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ColossalAI
Commits
5e2132dc
"git@developer.sourcefind.cn:OpenDAS/colossalai.git" did not exist on "e4fc57c3de6204ac66df75aa1752db1ec284f31f"
Unverified
Commit
5e2132dc
authored
Jun 07, 2023
by
Frank Lee
Committed by
GitHub
Jun 07, 2023
Browse files
[workflow] added docker latest tag for release (#3920)
parent
c25d421f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
.github/workflows/release_docker_after_publish.yml
.github/workflows/release_docker_after_publish.yml
+4
-0
No files found.
.github/workflows/release_docker_after_publish.yml
View file @
5e2132dc
...
@@ -23,8 +23,11 @@ jobs:
...
@@ -23,8 +23,11 @@ jobs:
run
:
|
run
:
|
version=$(cat version.txt)
version=$(cat version.txt)
tag=hpcaitech/colossalai:$version
tag=hpcaitech/colossalai:$version
latest=hpcaitech/colossalai:latest
docker build --build-arg http_proxy=http://172.17.0.1:7890 --build-arg https_proxy=http://172.17.0.1:7890 --build-arg VERSION=v${version} -t $tag ./docker
docker build --build-arg http_proxy=http://172.17.0.1:7890 --build-arg https_proxy=http://172.17.0.1:7890 --build-arg VERSION=v${version} -t $tag ./docker
docker tag $tag $latest
echo "tag=${tag}" >> $GITHUB_OUTPUT
echo "tag=${tag}" >> $GITHUB_OUTPUT
echo "latest=${latest}" >> $GITHUB_OUTPUT
-
name
:
Log in to Docker Hub
-
name
:
Log in to Docker Hub
uses
:
docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
uses
:
docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
...
@@ -36,6 +39,7 @@ jobs:
...
@@ -36,6 +39,7 @@ jobs:
id
:
docker-push
id
:
docker-push
run
:
|
run
:
|
docker push ${{ steps.build.outputs.tag }}
docker push ${{ steps.build.outputs.tag }}
docker push ${{ steps.build.outputs.latest }}
notify
:
notify
:
name
:
Notify Lark via webhook
name
:
Notify Lark via webhook
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment