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 1414 UP_API_TOKEN : ${{ secrets.UP_API_TOKEN }}
1515 UP_ROBOT_ID : ${{ secrets.UP_ROBOT_ID }}
1616 UP_ORG : ${{ secrets.UP_ORG }}
17+ XPKG_REGISTRY : xpkg.upbound.io
1718
1819jobs :
1920 deploy :
3435 - name : Login to xpkg with robot
3536 uses : docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # v3
3637 with :
37- registry : xpkg.upbound.io
38+ registry : ${{ env.XPKG_REGISTRY }}
3839 username : ${{ env.UP_ROBOT_ID }}
3940 password : ${{ env.UP_API_TOKEN }}
4041
4647 tag : ${{ inputs.version || '' }}
4748 # login-check does `up org list` which doesn't work with a robot-token
4849 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