Skip to content

Commit

Permalink
Update docker-build-push.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Gagrio authored Jan 10, 2024
1 parent ac597eb commit 5377ed7
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/docker-build-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ name: Build and Push Docker Image

on:
push:
paths:
- 'DOCKERFILE'
- 'src/**'

jobs:
build-and-push:
Expand All @@ -22,7 +19,7 @@ jobs:

- name: Build Docker Image
run: |
docker build -t ${{ secrets.DOCKERHUB_USERNAME }}/myapp:latest -f DOCKERFILE ./src
docker build -t ${{ secrets.DOCKERHUB_USERNAME }}/myapp:latest
- name: Push Docker Image
run: docker push ${{ secrets.DOCKERHUB_USERNAME }}/myapp:latest

0 comments on commit 5377ed7

Please sign in to comment.