Skip to content

Commit

Permalink
Update docker.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
46797536 authored Jul 2, 2024
1 parent 73c9506 commit 8a6fe88
Showing 1 changed file with 13 additions and 7 deletions.
20 changes: 13 additions & 7 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,25 @@ jobs:
name: Pull
runs-on: ubuntu-latest
steps:


- name: Check out code
uses: actions/checkout@v2

- name: Build and push image Aliyun
- name: Setup sealos
run: |
set -e
curl -LO https://github.com/labring/sealos/releases/download/v4.3.3/sealos_4.3.3_linux_amd64.tar.gz
tar -xzvf sealos_4.3.3_linux_amd64.tar.gz
chmod +x sealos
alias sealos="$PWD/sealos"
echo "$PWD/sealos" >> $GITHUB_PATH
cat $GITHUB_PATH
ls $PWD/sealos
- name: Verify sealos installation
run: sealos version # 或者任何其他命令来验证sealos是否正确安装

- name: Check out code
uses: actions/checkout@v2

- name: Build and push image Aliyun
run: |
set -e
sealos login -u $ALIYUN_REGISTRY_USER -p $ALIYUN_REGISTRY_PASSWORD $ALIYUN_REGISTRY
while IFS= read -r line; do
[[ -z "$line" ]] && continue
Expand Down

0 comments on commit 8a6fe88

Please sign in to comment.