Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

Commit

Permalink
add separate checkout step
Browse files Browse the repository at this point in the history
  • Loading branch information
gidsg committed May 21, 2024
1 parent a43a183 commit b024319
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pullpreview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
timeout-minutes: 30
environment: ${{ inputs.environment || 'dev' }}
steps:
- name: Git clone the repository
uses: actions/checkout@v3
- name: Inject branch image into docker compose file
run: |
yq -i '.services.submit.image = "ghcr.io/communitiesuk/${{ github.event.repository.name }}:${{ github.ref_name == 'main' && 'latest' || needs.tag_version.outputs.version_to_tag }}"' ./docker-compose.yml
Expand Down

0 comments on commit b024319

Please sign in to comment.