Skip to content

Commit

Permalink
Update netflix.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Aj7Ay authored Oct 19, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 27d3cd4 commit 6061a32
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/netflix.yml
Original file line number Diff line number Diff line change
@@ -32,3 +32,13 @@ jobs:
sudo apt-get install trivy -y
#scanning files
trivy fs .
- name: Docker build and push
run: |
#run commands to build and push docker images
docker build --build-arg TMDB_V3_API_KEY=ca86fe14eca3e76864bc17f59d319b92 -t netflix .
docker tag netflix sevenajay/netflix:latest
docker login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_TOKEN }}
docker push sevenajay/netflix:latest
env:
DOCKER_CLI_ACI: 1

0 comments on commit 6061a32

Please sign in to comment.