|
6 | 6 | - release/vizier/** |
7 | 7 | permissions: |
8 | 8 | contents: read |
| 9 | + packages: write |
9 | 10 | env: |
10 | 11 | VERSIONS_FILE: "VERSIONS.json" |
11 | 12 | jobs: |
|
33 | 34 | with: |
34 | 35 | download_toplevel: 'true' |
35 | 36 | BB_API_KEY: ${{ secrets.BB_IO_API_KEY }} |
36 | | - - id: gcloud-creds |
37 | | - uses: ./.github/actions/gcloud_creds |
38 | | - with: |
39 | | - SERVICE_ACCOUNT_KEY: ${{ secrets.GH_RELEASE_SA_PEM_B64 }} |
| 37 | + - name: Login to GHCR |
| 38 | + run: echo "${{ github.token }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin |
40 | 39 | - name: Import GPG key |
41 | 40 | env: |
42 | 41 | BUILDBOT_GPG_KEY_B64: ${{ secrets.BUILDBOT_GPG_KEY_B64 }} |
|
49 | 48 | JOB_NAME: ${{ github.job }} |
50 | 49 | COSIGN_PASSWORD: ${{secrets.COSIGN_PASSWORD}} |
51 | 50 | COSIGN_PRIVATE_KEY: ${{secrets.COSIGN_PRIVATE_KEY}} |
52 | | - GOOGLE_APPLICATION_CREDENTIALS: ${{ steps.gcloud-creds.outputs.gcloud-creds }} |
53 | 51 | BUILDBOT_GPG_KEY_ID: ${{ secrets.BUILDBOT_GPG_KEY_ID }} |
54 | 52 | GH_REPO: ${{ github.repository }} |
55 | 53 | shell: bash |
|
60 | 58 | export INDEX_FILE="$(pwd)/index.yaml" |
61 | 59 | ./ci/save_version_info.sh |
62 | 60 | ./ci/vizier_build_release.sh |
63 | | - - name: Build & Export Docs |
64 | | - env: |
65 | | - PXL_DOCS_GCS_PATH: "gs://pixie-dev-public/pxl-docs.json" |
66 | | - run: | |
67 | | - docs="$(mktemp)" |
68 | | - bazel run //src/carnot/docstring:docstring -- --output_json "${docs}" |
69 | | - gsutil cp "${docs}" "${PXL_DOCS_GCS_PATH}" |
70 | | - - name: Update GCS Manifest |
71 | | - env: |
72 | | - ARTIFACT_MANIFEST_BUCKET: "pixie-dev-public" |
73 | | - # Use the old style versions file instead of the new updates for the gcs manifest. |
74 | | - MANIFEST_UPDATES: "" |
75 | | - GOOGLE_APPLICATION_CREDENTIALS: ${{ steps.gcloud-creds.outputs.gcloud-creds }} |
76 | | - run: ./ci/update_artifact_manifest.sh |
77 | 61 | - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 |
78 | 62 | with: |
79 | 63 | name: manifest-updates |
|
0 commit comments