From 621e50ef7d7a12c2b3d864f7a59e900ae11495b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Nussbaumer?= Date: Fri, 25 Oct 2024 11:24:53 +0200 Subject: [PATCH] build(trident): sanitize image name when exporting MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Clément Nussbaumer --- .github/workflows/trident.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/trident.yaml b/.github/workflows/trident.yaml index 89209b1..c2a9cb2 100644 --- a/.github/workflows/trident.yaml +++ b/.github/workflows/trident.yaml @@ -2,11 +2,11 @@ name: Trident Build on: push: - paths: - - "trident-distrowith/**" + # paths: + # - "trident-distrowith/**" pull_request: - paths: - - "trident-distrowith/**" + # paths: + # - "trident-distrowith/**" jobs: build: @@ -54,7 +54,7 @@ jobs: mkdir -p /tmp/docker-images/ docker image ls --format=json | \ jq -s '[.[] | select(.Repository | test("ghcr.io/postfinance/trident.*"))] | unique_by(.ID) |.[] | .Repository + ":" + .Tag' | \ - xargs -I_ docker save _ -o /tmp/docker-images/_.tar + xargs -I_ sh -c 'docker save _ -o /tmp/docker-images/$(echo _ | sed "s|[/:\.]|-|g").tar' - name: Upload docker images artifacts uses: actions/upload-artifact@v4