Skip to content

Commit 95b69db

Browse files
committed
Testing Artifact Registry migration
1 parent 8c72ec9 commit 95b69db

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

.github/workflows/presubmit.yaml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,31 @@ jobs:
4343
with:
4444
arch: x86_64
4545

46+
deploy-cuttlefish-cvdremote-x86_64-debian-package:
47+
if: ${{ github.repository_owner == 'google' }}
48+
runs-on: ubuntu-24.04
49+
container:
50+
image: debian@sha256:9258a75a7e4323c9e5562b361effc84ee747920116d8adfc98a465a5cdc9150e # debian:bookworm-20250407 (amd64)
51+
steps:
52+
- name: Checkout repository
53+
uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675 # aka v2
54+
- name: Build debian package cuttlefish-cvdremote
55+
uses: ./.github/actions/build-cuttlefish-cvdremote-debian-package
56+
with:
57+
arch: x86_64
58+
- name: Authentication on GCP project android-cuttlefish-artifacts
59+
uses: 'google-github-actions/auth@v2'
60+
with:
61+
credentials_json: '${{ secrets.ARTIFACT_REGISTRY_UPLOADER }}'
62+
- name: Deploy deb package into Artifact Registry
63+
if: ${{ github.repository_owner == 'google' }}
64+
run: |
65+
gcloud --project=android-cuttlefish-artifacts \
66+
artifacts apt upload \
67+
android-cuttlefish-nightly \
68+
--location=asia \
69+
--source=build/debian/cuttlefish-cvdremote_*.deb
70+
4671
build-cuttlefish-cvdremote-arm64-debian-package:
4772
runs-on: ubuntu-24.04-arm
4873
container:

0 commit comments

Comments
 (0)