File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Deployment
2+
3+ on :
4+ pull_request :
5+
6+ jobs :
7+ deploy-cuttlefish-cvdremote-x86_64-debian-package :
8+ if : ${{ github.repository_owner == 'google' }}
9+ environment : deployment
10+ runs-on : ubuntu-24.04
11+ container :
12+ image : debian@sha256:9258a75a7e4323c9e5562b361effc84ee747920116d8adfc98a465a5cdc9150e # debian:bookworm-20250407 (amd64)
13+ steps :
14+ - name : Checkout repository
15+ uses : actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675 # aka v2
16+ - name : Build debian package cuttlefish-cvdremote
17+ uses : ./.github/actions/build-cuttlefish-cvdremote-debian-package
18+ with :
19+ arch : x86_64
20+ - name : Authentication on GCP project android-cuttlefish-artifacts
21+ uses : ' google-github-actions/auth@v2'
22+ with :
23+ credentials_json : ' ${{ secrets.ARTIFACT_REGISTRY_UPLOADER }}'
24+ - name : Deploy deb package into Artifact Registry
25+ if : ${{ github.repository_owner == 'google' }}
26+ run : |
27+ gcloud --project=android-cuttlefish-artifacts \
28+ artifacts apt upload \
29+ android-cuttlefish-nightly \
30+ --location=asia \
31+ --source=build/debian/cuttlefish-cvdremote_*.deb
You can’t perform that action at this time.
0 commit comments