Skip to content

Commit

Permalink
Update docker-sync.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
yaming116 authored Jun 11, 2024
1 parent 1f30786 commit a428eb7
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/docker-sync.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,18 @@ jobs:
echo "src=${src}" >> "$GITHUB_ENV"
echo "dist=${dist}" >> "$GITHUB_ENV"
- name: Copy beta to ECR
uses: truemark/skopeo-copy-action@v1
with:
src-image: "docker://$src"
dest-image: "docker://$dist"
dest-username: "${{ secrets.ALIYUN_REGISTRY_USER }}"
dest-password: "${{ secrets.ALIYUN_REGISTRY_PASSWORD }}"
multi-arch: "all"
# - name: Copy beta to ECR
# uses: truemark/skopeo-copy-action@v1
# with:
# src-image: "docker://$src"
# dest-image: "docker://$dist"
# dest-username: "${{ secrets.ALIYUN_REGISTRY_USER }}"
# dest-password: "${{ secrets.ALIYUN_REGISTRY_PASSWORD }}"
# multi-arch: "all"
- name: 'notify'
run: |
echo "src=${src}"
echo "dist=${dist}"
data=`cat trigger.txt`
if [ $MM_NOTIFY_URL ];then
curl -H 'Content-Type: application/json' \
Expand Down

0 comments on commit a428eb7

Please sign in to comment.