mirror of
https://github.com/k8sgpt-ai/k8sgpt.git
synced 2025-08-28 12:20:40 +00:00
chore: updated actor for login
Signed-off-by: Alex Jones <alexsimonjones@gmail.com>
This commit is contained in:
parent
76d23e22c4
commit
6d1d705fa3
6
.github/workflows/build_container.yaml
vendored
6
.github/workflows/build_container.yaml
vendored
@ -104,7 +104,7 @@ jobs:
|
||||
|
||||
- name: Build and push the image
|
||||
id: build
|
||||
# if: ${{ needs.prepare_ci_run.outputs.NON_FORKED_AND_NON_ROBOT_RUN == 'true' }}
|
||||
if: ${{ needs.prepare_ci_run.outputs.NON_FORKED_AND_NON_ROBOT_RUN == 'true' }}
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
@ -116,7 +116,7 @@ jobs:
|
||||
RELEASE_VERSION=dev-${{ env.DATETIME }}
|
||||
BUILD_TIME=${{ env.BUILD_TIME }}
|
||||
tags: |
|
||||
${{ env.REGISTRY_IMAGE }}:${{ needs.prepare_ci_run.outputs.DATETIME }}
|
||||
${{ env.REGISTRY_IMAGE }}:${{ needs.prepare_ci_run.outputs.DATETIME }}-${{ matrix.arch }}
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
secrets: |
|
||||
GIT_AUTH_TOKEN=${{ secrets.K8SGPT_BOT_SECRET }}
|
||||
@ -153,5 +153,5 @@ jobs:
|
||||
- name: Create manifest list and push
|
||||
run: |
|
||||
docker manifest create ${{ env.REGISTRY_IMAGE }}:${{ needs.prepare_ci_run.outputs.DATETIME }} \
|
||||
${{ env.REGISTRY_IMAGE }}:${{ needs.prepare_ci_run.outputs.DATETIME }}
|
||||
${{ env.REGISTRY_IMAGE }}:${{ needs.prepare_ci_run.outputs.DATETIME }}-amd64
|
||||
docker manifest push ${{ env.REGISTRY_IMAGE }}:${{ needs.prepare_ci_run.outputs.DATETIME }}
|
2
.github/workflows/release.yaml
vendored
2
.github/workflows/release.yaml
vendored
@ -115,6 +115,8 @@ jobs:
|
||||
tags: |
|
||||
${{ env.IMAGE_TAG }}
|
||||
builder: ${{ steps.buildx.outputs.name }}
|
||||
secrets: |
|
||||
GIT_AUTH_TOKEN=${{ secrets.K8SGPT_BOT_SECRET }}
|
||||
push: true
|
||||
cache-from: type=gha,scope=${{ github.ref_name }}-${{ env.IMAGE_TAG }}
|
||||
cache-to: type=gha,scope=${{ github.ref_name }}-${{ env.IMAGE_TAG }}
|
||||
|
Loading…
Reference in New Issue
Block a user