From 45a88a97a311d654ae7088ebcd9d458f27e355b9 Mon Sep 17 00:00:00 2001 From: Prashant Bhandari Date: Mon, 8 Jan 2024 19:32:57 +0000 Subject: [PATCH] fix: project name cannot contain slash --- run-sync/action.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/run-sync/action.yaml b/run-sync/action.yaml index 0fb26b1..97a0e4b 100644 --- a/run-sync/action.yaml +++ b/run-sync/action.yaml @@ -76,28 +76,28 @@ runs: - name: start 1password connect shell: bash env: - COMPOSE_PROJECT_NAME: ${{ github.repository }}-${{ github.run_id }}-${{ github.run_attempt }} + COMPOSE_PROJECT_NAME: ${{ github.event.repository.name }}-${{ github.run_id }}-${{ github.run_attempt }} working-directory: ${{ runner.temp }}/kubesealer run: docker-compose up -d op-connect-api op-connect-sync - name: logs shell: bash env: - COMPOSE_PROJECT_NAME: ${{ github.repository }}-${{ github.run_id }}-${{ github.run_attempt }} + COMPOSE_PROJECT_NAME: ${{ github.event.repository.name }}-${{ github.run_id }}-${{ github.run_attempt }} working-directory: ${{ runner.temp }}/kubesealer run: docker-compose logs - name: kubesealer sync shell: bash env: - COMPOSE_PROJECT_NAME: ${{ github.repository }}-${{ github.run_id }}-${{ github.run_attempt }} + COMPOSE_PROJECT_NAME: ${{ github.event.repository.name }}-${{ github.run_id }}-${{ github.run_attempt }} run: docker-compose -f ${RUNNER_TEMP}/kubesealer/docker-compose.yaml run --rm -v "$(pwd):/src" kubesealer turo-kubesealer sync --recursive --certs /certs /src - name: cleanup kubesealer if: always() shell: bash env: - COMPOSE_PROJECT_NAME: ${{ github.repository }}-${{ github.run_id }}-${{ github.run_attempt }} + COMPOSE_PROJECT_NAME: ${{ github.event.repository.name }}-${{ github.run_id }}-${{ github.run_attempt }} working-directory: ${{ runner.temp }}/kubesealer run: | echo "List running docker containers"