Skip to content

Commit

Permalink
fix: project name cannot contain slash
Browse files Browse the repository at this point in the history
  • Loading branch information
pbhandari-turo committed Jan 8, 2024
1 parent eb92867 commit 1ac3cf4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions run-sync/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 1ac3cf4

Please sign in to comment.