File tree Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Expand file tree Collapse file tree 1 file changed +9
-1
lines changed Original file line number Diff line number Diff line change 14
14
UP_API_TOKEN : ${{ secrets.UP_API_TOKEN }}
15
15
UP_ROBOT_ID : ${{ secrets.UP_ROBOT_ID }}
16
16
UP_ORG : ${{ secrets.UP_ORG }}
17
+ XPKG_REGISTRY : xpkg.upbound.io
17
18
18
19
jobs :
19
20
deploy :
34
35
- name : Login to xpkg with robot
35
36
uses : docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3
36
37
with :
37
- registry : xpkg.upbound.io
38
+ registry : ${{ env.XPKG_REGISTRY }}
38
39
username : ${{ env.UP_ROBOT_ID }}
39
40
password : ${{ env.UP_API_TOKEN }}
40
41
46
47
tag : ${{ inputs.version || '' }}
47
48
# login-check does `up org list` which doesn't work with a robot-token
48
49
skip-login-check : true
50
+
51
+ - name : Append icon overlay to package
52
+ if : env.UP_API_TOKEN != '' && hashFiles('./extensions') != '' && inputs.version != ''
53
+ run : |
54
+ PROJECT_NAME=$(yq '.metadata.name' upbound.yaml)
55
+ PACKAGE_REF="${{ env.XPKG_REGISTRY }}/${{ env.UP_ORG }}/${PROJECT_NAME}:${{ inputs.version }}"
56
+ up alpha xpkg append --extensions-root=./extensions ${PACKAGE_REF}
You can’t perform that action at this time.
0 commit comments