File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 40
40
username : ${{ github.actor }}
41
41
password : ${{ secrets.GITHUB_TOKEN }}
42
42
43
+ - name : Login to ACR
44
+ uses : docker/login-action@v2
45
+ with :
46
+ registry : registry.cn-guangzhou.aliyuncs.com
47
+ username : ${{ secrets.ALIYUN_USER }}
48
+ password : ${{ secrets.ALIYUN_PASS }}
49
+
43
50
- name : Docker Push
44
51
uses : docker/build-push-action@v5
45
52
if : github.event_name == 'push'
@@ -50,10 +57,12 @@ jobs:
50
57
tags : |
51
58
ghcr.io/scutrobotlab/rm-schedule:latest
52
59
ghcr.io/scutrobotlab/rm-schedule:${{ github.sha }}
60
+ registry.cn-guangzhou.aliyuncs.com/scutrobot/rm-schedule:latest
61
+ registry.cn-guangzhou.aliyuncs.com/scutrobot/rm-schedule:${{ github.sha }}
53
62
labels : |
54
63
org.opencontainers.image.source=https://github.com/scutrobotlab/rm-schedule
55
64
org.opencontainers.image.revision=${{ github.sha }}
56
65
org.opencontainers.image.created=${{ github.event.head_commit.timestamp }}
57
66
org.opencontainers.image.title=rm-schedule
58
67
cache-from : type=gha
59
- cache-to : type=gha,mode=max
68
+ cache-to : type=gha,mode=max
You can’t perform that action at this time.
0 commit comments