Skip to content

Commit

Permalink
add docker push step (#220)
Browse files Browse the repository at this point in the history
  • Loading branch information
chicori3 authored Jul 25, 2024
1 parent e26eb04 commit 1d309b6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/prod_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@ jobs:
mkdir deploy/scripts
cp ./scripts/* ./deploy/scripts/
- name: Docker push
run: |
cd module-web
echo ${{ secrets.DOCKER_PASSWORD }} | docker login -u ${{ secrets.DOCKER_USERNAME }} --password-stdin
docker build -t ${{ secrets.DOCKER_REPOSITORY_PROD }} .
docker push ${{ secrets.DOCKER_REPOSITORY_PROD }}
- name: Make zip file
run: zip -r ./$GITHUB_SHA.zip ./deploy/
shell: bash
Expand Down

0 comments on commit 1d309b6

Please sign in to comment.