Skip to content

Commit

Permalink
add docker image name to secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
SelimHorri committed Sep 9, 2021
1 parent 548de52 commit ed0d5e1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-heroku-deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- name: Push Docker image
uses: mr-smithers-excellent/docker-build-push@v5
with:
image: selimhorri/project-tracking-system
image: selimhorri/${{ secrets.DOCKER_IMAGE }}
tags: latest
registry: docker.io
username: ${{ secrets.DOCKER_USERNAME }}
Expand Down
7 changes: 4 additions & 3 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@

version: '3'
services:
project-tracking-system-container:
image: selimhorri/project-tracking-system-backend-app:latest
project-tracking-system-backend-app:
image: selimhorri/project-tracking-system-backend-app
ports:
- 8080:8080
environment:
- SPRING_PROFILES_ACTIVE=dev
- SPRING_PROFILES_ACTIVE=dev

0 comments on commit ed0d5e1

Please sign in to comment.