File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Container Build And Upload
2+ description : |
3+ Builds and uploads to GHCR (GitHub Container Registry) the container used to build the packages
4+
5+ on :
6+ workflow_dispatch :
7+ inputs :
8+ test :
9+ description : no description
10+ type : boolean
11+ default : false
12+
13+ permissions :
14+ contents : read
15+ security-events : write
16+
17+ env :
18+ GITHUB_SERVICE_BOT_USERNAME : " qcom-service-bot"
19+
20+ QCOM_ORG_NAME : " qualcomm-linux"
21+
22+ IMAGE_NAME : " pkg-builder"
23+
24+ jobs :
25+ container-build-and-upload :
26+
27+ runs-on : ubuntu-latest
28+
29+ steps :
30+
31+ - name : Authenticate to GHCR
32+ run : echo ${{ secrets.DEB_PKG_BOT_CI_TOKEN }} | docker login ghcr.io -u ${{env.GITHUB_SERVICE_BOT_USERNAME}} --password-stdin
33+
34+ - name : Build and Tag the Image
35+ run : docker build -t ghcr.io/${{env.QCOM_ORG_NAME}}/${{env.IMAGE_NAME}}:latest .
You can’t perform that action at this time.
0 commit comments