Skip to content

Commit

Permalink
Set the correct basepath when starting.
Browse files Browse the repository at this point in the history
  • Loading branch information
shammowla committed Sep 5, 2024
1 parent 5e62955 commit 7c475a7
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/sandbox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,8 @@ jobs:
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
- name: Docker Login to ACR
uses: azure/docker-login@v1
with:
login-server: ${{ env.ACR_NAME }}
username: ${{ secrets.ACR_USERNAME }}
password: ${{ secrets.ACR_PASSWORD }}
run: |
echo ${{ secrets.DOCKER_REGISTRY_SERVER_PASSWORD }} | docker login ${{ secrets.DOCKER_REGISTRY_SERVER_URL }} -u ${{ secrets.DOCKER_REGISTRY_SERVER_USERNAME }} --password-stdin
- name: Set environment variables
run: |
echo "BASE_PATH=/$(echo ${{ matrix.sample }} | cut -d'-' -f2-)" >> $GITHUB_ENV
Expand All @@ -86,7 +83,7 @@ jobs:
with:
app-name: ajo
publish-profile: ${{ secrets[format('{0}_PUBLISH_PROFILE', matrix.sample)] }}
images: ${{ env.ACR_NAME }}/${{ matrix.sample }}:latest
images: ${{ secrets.DOCKER_REGISTRY_SERVER_URL }}/${{ matrix.sample }}:latest

deploy-target:
needs: setup
Expand Down

0 comments on commit 7c475a7

Please sign in to comment.