|
21 | 21 | description: "Fully-qualified image reference without tag (release-only)." |
22 | 22 | required: false |
23 | 23 | type: string |
24 | | - default: ghcr.io/qcom-ai-hub/geniex-cli |
| 24 | + default: ghcr.io/qualcomm/geniex-cli |
25 | 25 | tag: |
26 | 26 | description: "Image tag to publish, e.g. v1.2.3 (required when push=true)." |
27 | 27 | required: false |
@@ -117,29 +117,29 @@ jobs: |
117 | 117 | file "${tarball}" |
118 | 118 | tar -tf "${tarball}" | head -10 |
119 | 119 |
|
120 | | - # Enterprise policy blocks GITHUB_TOKEN from creating org packages, |
121 | | - # so login with GH_PAT (user-scoped, SAML-authorized). |
122 | | - - name: Log in to GHCR (crane) |
123 | | - if: inputs.push |
124 | | - shell: bash |
125 | | - env: |
126 | | - GHCR_USER: ${{ github.actor }} |
127 | | - GHCR_TOKEN: ${{ secrets.GH_PAT }} |
128 | | - run: | |
129 | | - set -euo pipefail |
130 | | - echo "${GHCR_TOKEN}" | crane auth login ghcr.io -u "${GHCR_USER}" --password-stdin |
131 | | -
|
132 | | - - name: Push image to GHCR |
133 | | - if: inputs.push |
134 | | - shell: bash |
135 | | - env: |
136 | | - IMAGE: ${{ inputs.image }} |
137 | | - IMAGE_REF: ${{ env.IMAGE_REF }} |
138 | | - IS_PRERELEASE: ${{ inputs.is_prerelease }} |
139 | | - run: | |
140 | | - set -euo pipefail |
141 | | - crane push bazel-bin/cli/release/linux/geniex-cli-docker.tar "${IMAGE_REF}" |
142 | | - # Prereleases must not clobber the floating :latest tag. |
143 | | - if [[ "${IS_PRERELEASE}" != "true" ]]; then |
144 | | - crane tag "${IMAGE_REF}" latest |
145 | | - fi |
| 120 | + # # Enterprise policy blocks GITHUB_TOKEN from creating org packages, |
| 121 | + # # so login with GH_PAT (user-scoped, SAML-authorized). |
| 122 | + # - name: Log in to GHCR (crane) |
| 123 | + # if: inputs.push |
| 124 | + # shell: bash |
| 125 | + # env: |
| 126 | + # GHCR_USER: ${{ github.actor }} |
| 127 | + # GHCR_TOKEN: ${{ secrets.GH_PAT }} |
| 128 | + # run: | |
| 129 | + # set -euo pipefail |
| 130 | + # echo "${GHCR_TOKEN}" | crane auth login ghcr.io -u "${GHCR_USER}" --password-stdin |
| 131 | + # |
| 132 | + # - name: Push image to GHCR |
| 133 | + # if: inputs.push |
| 134 | + # shell: bash |
| 135 | + # env: |
| 136 | + # IMAGE: ${{ inputs.image }} |
| 137 | + # IMAGE_REF: ${{ env.IMAGE_REF }} |
| 138 | + # IS_PRERELEASE: ${{ inputs.is_prerelease }} |
| 139 | + # run: | |
| 140 | + # set -euo pipefail |
| 141 | + # crane push bazel-bin/cli/release/linux/geniex-cli-docker.tar "${IMAGE_REF}" |
| 142 | + # # Prereleases must not clobber the floating :latest tag. |
| 143 | + # if [[ "${IS_PRERELEASE}" != "true" ]]; then |
| 144 | + # crane tag "${IMAGE_REF}" latest |
| 145 | + # fi |
0 commit comments