Skip to content

Commit

Permalink
patch31
Browse files Browse the repository at this point in the history
  • Loading branch information
xielei committed Jan 13, 2024
1 parent b32c27a commit 7bddf0b
Showing 1 changed file with 21 additions and 9 deletions.
30 changes: 21 additions & 9 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ jobs:
steps:
- name: aaa
run: |
python --version
python3 --version
docker ps
echo "123456ab" > abc
cat abc | xargs -i docker login [email protected] registry.cn-hangzhou.aliyuncs.com --password {}
Expand All @@ -22,7 +24,26 @@ jobs:
persist-credentials: false
submodules: true


- name: bbb
run: |
output_dir="build_results"
./docker/packager/packager --package-type=binary --output-dir "$output_dir"
ls -al build_results
echo "123456ab" > abc
cat abc | xargs -i docker login [email protected] registry.cn-hangzhou.aliyuncs.com --password {}
docker rm -f aaaaaabbbbbbccc
docker run -itd --name aaaaaabbbbbbccc nginx
docker cp build_results aaaaaabbbbbbccc:/opt
docker commit aaaaaabbbbbbccc registry.cn-hangzhou.aliyuncs.com/he3cloud/clickhouse:v3
docker push registry.cn-hangzhou.aliyuncs.com/he3cloud/clickhouse:v3
docker rm -f aaaaaabbbbbbccc
- name: ccc
if: false
run: |
ls -al
du -chs *
Expand All @@ -39,12 +60,3 @@ jobs:
docker rm -f aaaaaabbbbbbccc
- name: Cleanup
run: |
# define a directory for the output artifacts
echo 123
#
# output_dir="build_results"
# mkdir -p build_results
# ./docker/packager/packager --package-type=binary --output-dir "$output_dir"
# ls -al build_results

0 comments on commit 7bddf0b

Please sign in to comment.