From b7bd698d8ca16412195e954630be6ea6f9d4851b Mon Sep 17 00:00:00 2001 From: Jimmy Herrera Date: Fri, 27 Dec 2024 13:58:34 +0100 Subject: [PATCH] fix: [#34] added cat to regctl --- .github/workflows/docker-registry.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/docker-registry.yml b/.github/workflows/docker-registry.yml index d1a599f..46e3f0c 100644 --- a/.github/workflows/docker-registry.yml +++ b/.github/workflows/docker-registry.yml @@ -37,6 +37,7 @@ jobs: - name: Create registry backup directory run: mkdir -p ${{ env.DOCKERFILE_CONTEXT }}/backup-registry - name: Pull images data and prepare context directory + if: startsWith(github.ref, 'refs/tags/') shell: bash run: | #!/bin/bash @@ -48,7 +49,7 @@ jobs: ls -la $HOME ls -la $HOME/.regctl ls -la $HOME/.regctl/bin - cat $HOME/.regctl/bin + cat $HOME/.regctl/bin/regctl regctl \ image \ copy --digest-tags \