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 5ca5e04 commit 73c9506
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,22 +18,19 @@ jobs:
name: Pull
runs-on: ubuntu-latest
steps:
- 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
echo "$PWD/sealos" >> $GITHUB_PATH
cat $GITHUB_PATH
ls $PWD/sealos


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

- name: Build and push image Aliyun
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"
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 73c9506

Please sign in to comment.