|
52 | 52 | uses: ./.github/actions/deploy-cuttlefish-cvdremote-debian-package |
53 | 53 | with: |
54 | 54 | path: ${{ env.path }} |
| 55 | + |
| 56 | + deploy-cuttlefish-cloud-orchestrator-amd64-docker-image: |
| 57 | + if: github.repository_owner == 'google' |
| 58 | + environment: deployment |
| 59 | + runs-on: ubuntu-24.04 |
| 60 | + steps: |
| 61 | + - name: Checkout repository |
| 62 | + uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675 # aka v2 |
| 63 | + - name: Build docker image |
| 64 | + run: docker build -t cuttlefish-cloud-orchestrator . |
| 65 | + - name: Authentication on GCP project android-cuttlefish-artifacts |
| 66 | + uses: 'google-github-actions/auth@v2' |
| 67 | + with: |
| 68 | + credentials_json: '${{ secrets.ARTIFACT_REGISTRY_UPLOADER }}' |
| 69 | + - name: Deploy docker image |
| 70 | + uses: ./.github/actions/deploy-cuttlefish-cloud-orchestrator-docker-image |
| 71 | + with: |
| 72 | + arch: amd64 |
| 73 | + |
| 74 | + deploy-cuttlefish-cloud-orchestrator-arm64-docker-image: |
| 75 | + if: github.repository_owner == 'google' |
| 76 | + environment: deployment |
| 77 | + runs-on: ubuntu-24.04-arm |
| 78 | + steps: |
| 79 | + - name: Checkout repository |
| 80 | + uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675 # aka v2 |
| 81 | + - name: Build docker image |
| 82 | + run: docker build -t cuttlefish-cloud-orchestrator . |
| 83 | + - name: Authentication on GCP project android-cuttlefish-artifacts |
| 84 | + uses: 'google-github-actions/auth@v2' |
| 85 | + with: |
| 86 | + credentials_json: '${{ secrets.ARTIFACT_REGISTRY_UPLOADER }}' |
| 87 | + - name: Deploy docker image |
| 88 | + uses: ./.github/actions/deploy-cuttlefish-cloud-orchestrator-docker-image |
| 89 | + with: |
| 90 | + arch: arm64 |
0 commit comments