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 448d254 commit 6217e0b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-deploy-docker.yml
Expand Up @@ -14,10 +14,12 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Decode SSH key
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: ${{ secrets.SSH_PRIVATE_KEY }}
ssh-private-key: ${{ steps.decode_ssh_key.outputs.private_key }}
- name: Build and push Docker image
uses: docker/build-push-action@v2
with:
Expand All @@ -26,4 +28,4 @@ jobs:
push: true
tags: hanschrome/solidjobs-web:latest
args: |
--build-arg SSH_PRIVATE_KEY="${{ secrets.SSH_PRIVATE_KEY }}"
--build-arg SSH_PRIVATE_KEY="${{ steps.decode_ssh_key.outputs.private_key }}"

0 comments on commit 6217e0b

Please sign in to comment.