From d5b44595c3348eabd02f42cdccb549b4e9268287 Mon Sep 17 00:00:00 2001 From: Ed Morley <501702+edmorley@users.noreply.github.com> Date: Thu, 26 Oct 2023 13:34:22 +0100 Subject: [PATCH] Test dry run --- .github/workflows/build-test-publish.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-test-publish.yml b/.github/workflows/build-test-publish.yml index 25815ac2..a5ba5b81 100644 --- a/.github/workflows/build-test-publish.yml +++ b/.github/workflows/build-test-publish.yml @@ -3,7 +3,7 @@ name: Build, Test, Publish on: pull_request: push: - branches: ["main"] + # branches: ["main"] schedule: - cron: "0 0 * * 1-5" workflow_dispatch: @@ -138,7 +138,7 @@ jobs: publish: runs-on: ubuntu-22.04 - if: success() && github.ref == 'refs/heads/main' + # if: success() && github.ref == 'refs/heads/main' needs: - test-guides - test-functions @@ -187,12 +187,12 @@ jobs: run: | PUBLIC_IMAGE_URI='${{ matrix.tag_public }}' set +x - docker tag '${{ matrix.builder }}' "${PUBLIC_IMAGE_URI}" - docker push "${PUBLIC_IMAGE_URI}" + echo tag '${{ matrix.builder }}' "${PUBLIC_IMAGE_URI}" + echo push "${PUBLIC_IMAGE_URI}" - name: Tag builder and push to internal registry if: matrix.tag_private != '' run: | PRIVATE_IMAGE_URI='${{ secrets.REGISTRY_HOST }}/s/${{ secrets.SERVICE_TOKEN_USER_NAME }}/${{ matrix.tag_private }}' set +x - docker tag '${{ matrix.builder }}' "${PRIVATE_IMAGE_URI}" - docker push "${PRIVATE_IMAGE_URI}" + echo tag '${{ matrix.builder }}' "${PRIVATE_IMAGE_URI}" + echo push "${PRIVATE_IMAGE_URI}"