Skip to content

Commit 42138d2

Browse files
Introduction of a deb package builder docker image creation and upload workflow
Signed-off-by: Simon Beaudoin <[email protected]>
1 parent a50ef05 commit 42138d2

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
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 .

0 commit comments

Comments
 (0)