Skip to content

Commit

Permalink
Bugfix - Fix Dockerfile for production
Browse files Browse the repository at this point in the history
The dockerfile didn't copy the dialogflow directory so Ote wasn't able to work :(
  • Loading branch information
hanschrome committed Mar 21, 2023
1 parent 2438cf5 commit 6148143
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/build-deploy-docker.yml
Expand Up @@ -15,11 +15,14 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Decode SSH key
run: echo "${{ secrets.SSH_PRIVATE_KEY }}" | base64 --decode > id_rsa
id: decode_ssh_key
run: |
echo "${{ secrets.SSH_PRIVATE_KEY_BASE64 }}" | base64 --decode > id_rsa
echo "PRIVATE_KEY=$(cat id_rsa)" >> $GITHUB_ENV
- name: Add SSH key
uses: webfactory/ssh-agent@v0.4.1
with:
ssh-private-key: ${{ steps.decode_ssh_key.outputs.private_key }}
ssh-private-key: ${{ env.PRIVATE_KEY }}
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
Expand Down

0 comments on commit 6148143

Please sign in to comment.