Skip to content

Commit 35cf913

Browse files
committed
Testing Artifact Registry migration
1 parent 8c72ec9 commit 35cf913

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

.github/workflows/presubmit.yaml

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

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

0 commit comments

Comments
 (0)