File tree 2 files changed +24
-3
lines changed
2 files changed +24
-3
lines changed Original file line number Diff line number Diff line change
1
+ name : Upload Images
2
+ on :
3
+ push :
4
+ tags :
5
+ - " v*.*.*"
6
+ jobs :
7
+ images :
8
+ runs-on : ubuntu-latest
9
+ permissions : write-all
10
+ steps :
11
+ - name : Checkout code
12
+ uses : actions/checkout@v3
13
+ with :
14
+ fetch-depth : 0
15
+ - name : Set up qemu
16
+ uses : docker/setup-qemu-action@v2
17
+ - name : Login registry
18
+ run : |
19
+ echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
20
+ - name : Push images
21
+ env :
22
+ ON_PLUGINS : true
23
+ run : |
24
+ make upload-images
Original file line number Diff line number Diff line change 97
97
98
98
upload-images : images
99
99
@echo " push images to $( REGISTRY) "
100
- ifneq ($(REGISTRY_USER_NAME ) , "")
101
- docker login -u ${REGISTRY_USER_NAME} -p ${REGISTRY_PASSWORD} ${REGISTRY_SERVER_ADDRESS}
102
- endif
103
100
docker push ${REGISTRY} /clusterlink-controller-manager:${VERSION}
104
101
docker push ${REGISTRY} /clusterlink-operator:${VERSION}
105
102
docker push ${REGISTRY} /clusterlink-agent:${VERSION}
You can’t perform that action at this time.
0 commit comments