Skip to content

Commit

Permalink
Update build-container.yaml
Browse files Browse the repository at this point in the history
Updated workflow trigger
  • Loading branch information
codingforentrepreneurs authored Jan 8, 2024
1 parent 292232b commit 5fc0e27
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ name: Django Buildpack
on:
push:
branches: [main]
paths:
- 'src/**'
pull_request:
branches: [main]
paths:
- 'src/**'
workflow_dispatch:


Expand Down Expand Up @@ -54,4 +58,4 @@ jobs:
docker tag ${{ env.DOCKER_HUB_REPO }}:${{ env.DOCKER_HUB_IMAGE_TAG }} ${{ env.DOCKER_HUB_REPO }}:latest
- name: Push the specific version and latest tag to Docker Hub
run: docker push ${{ env.DOCKER_HUB_REPO }} --all-tags
run: docker push ${{ env.DOCKER_HUB_REPO }} --all-tags

0 comments on commit 5fc0e27

Please sign in to comment.