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 63c776d commit 3949add
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build-deploy-docker.yml
Expand Up @@ -15,14 +15,11 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Decode SSH key
id: decode_ssh_key
run: |
echo "${{ secrets.SSH_PRIVATE_KEY }}" | base64 --decode > id_rsa
echo "PRIVATE_KEY=$(cat id_rsa)" >> $GITHUB_ENV
run: echo "${{ secrets.SSH_PRIVATE_KEY_BASE64 }}" | base64 --decode > id_rsa
- name: Add SSH key
uses: webfactory/ssh-agent@v0.4.1
with:
ssh-private-key: ${{ env.PRIVATE_KEY }}
ssh-private-key: ${{ github.workspace }}/id_rsa
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
Expand Down

0 comments on commit 3949add

Please sign in to comment.