ci: tag loaded computer image before tooling smoke
Co-authored-by: cynarAI <cynarAI@users.noreply.github.com>
This commit is contained in:
parent
0c9e6d7c58
commit
f96a707cca
9
.github/workflows/publish-server-image.yml
vendored
9
.github/workflows/publish-server-image.yml
vendored
@ -96,6 +96,15 @@ jobs:
|
|||||||
cache-to: type=gha,mode=max,scope=pr-${{ github.event.pull_request.number }}-${{ matrix.name }}
|
cache-to: type=gha,mode=max,scope=pr-${{ github.event.pull_request.number }}-${{ matrix.name }}
|
||||||
provenance: false
|
provenance: false
|
||||||
sbom: false
|
sbom: false
|
||||||
|
- name: Tag built computer image for tooling test
|
||||||
|
if: matrix.name == 'computer'
|
||||||
|
env:
|
||||||
|
TAGS: ${{ steps.meta.outputs.tags }}
|
||||||
|
IMAGE: ghcr.io/${{ steps.ns.outputs.repo }}/computer:sha-${{ github.sha }}
|
||||||
|
run: |
|
||||||
|
set -euo pipefail
|
||||||
|
src_tag="$(printf '%s\n' "$TAGS" | sed '/^[[:space:]]*$/d' | head -1)"
|
||||||
|
docker tag "$src_tag" "$IMAGE"
|
||||||
- name: Verify computer image tooling
|
- name: Verify computer image tooling
|
||||||
if: matrix.name == 'computer'
|
if: matrix.name == 'computer'
|
||||||
env:
|
env:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user