|
93 | 93 | uses: ./.github/actions/deploy-debian-packages |
94 | 94 | with: |
95 | 95 | path: . |
| 96 | + |
| 97 | + deploy-docker-image-amd64: |
| 98 | + runs-on: ubuntu-22.04 |
| 99 | + steps: |
| 100 | + - name: Checkout repository |
| 101 | + uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675 # aka v2 |
| 102 | + - name: Build docker image |
| 103 | + run: docker/image-builder.sh |
| 104 | + - name: Authentication on GCP project android-cuttlefish-artifacts |
| 105 | + uses: 'google-github-actions/auth@v2' |
| 106 | + with: |
| 107 | + credentials_json: '${{ secrets.ARTIFACT_REGISTRY_UPLOADER }}' |
| 108 | + - name: Login to Artifact Registry |
| 109 | + uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # aka v3.5.0 |
| 110 | + with: |
| 111 | + registry: us-docker.pkg.dev |
| 112 | + username: _json_key |
| 113 | + password: '${{ secrets.ARTIFACT_REGISTRY_UPLOADER }}' |
| 114 | + - name: Deploy docker image |
| 115 | + uses: ./.github/actions/deploy-docker-image |
| 116 | + with: |
| 117 | + arch: amd64 |
| 118 | + deploy-docker-image-arm64: |
| 119 | + runs-on: ubuntu-22.04-arm |
| 120 | + steps: |
| 121 | + - name: Checkout repository |
| 122 | + uses: actions/checkout@a81bbbf8298c0fa03ea29cdc473d45769f953675 # aka v2 |
| 123 | + - name: Build docker image |
| 124 | + run: docker/image-builder.sh |
| 125 | + - name: Authentication on GCP project android-cuttlefish-artifacts |
| 126 | + uses: 'google-github-actions/auth@v2' |
| 127 | + with: |
| 128 | + credentials_json: '${{ secrets.ARTIFACT_REGISTRY_UPLOADER }}' |
| 129 | + - name: Login to Artifact Registry |
| 130 | + uses: docker/login-action@184bdaa0721073962dff0199f1fb9940f07167d1 # aka v3.5.0 |
| 131 | + with: |
| 132 | + registry: us-docker.pkg.dev |
| 133 | + username: _json_key |
| 134 | + password: '${{ secrets.ARTIFACT_REGISTRY_UPLOADER }}' |
| 135 | + - name: Deploy docker image |
| 136 | + uses: ./.github/actions/deploy-docker-image |
| 137 | + with: |
| 138 | + arch: arm64 |
0 commit comments