Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
ColossalAI
Commits
5e2132dc
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
Show 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:
run
:
|
version=$(cat version.txt)
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 tag $tag $latest
echo "tag=${tag}" >> $GITHUB_OUTPUT
echo "latest=${latest}" >> $GITHUB_OUTPUT
-
name
:
Log in to Docker Hub
uses
:
docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
...
...
@@ -36,6 +39,7 @@ jobs:
id
:
docker-push
run
:
|
docker push ${{ steps.build.outputs.tag }}
docker push ${{ steps.build.outputs.latest }}
notify
:
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