Skip to content

Commit

Permalink
Added Docker token
Browse files Browse the repository at this point in the history
  • Loading branch information
Hakim-Kay committed Jun 14, 2024
1 parent e728eff commit 763ac2d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ on:

jobs:
build:

runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -44,7 +43,7 @@ jobs:
docker tag mhk1/acebook_penguins:latest mhk1/acebook_penguins:${{ github.sha }}
- name: Login to Docker Hub
run: echo "${{ secrets.DOCKER_HUB_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_HUB_USERNAME }}" --password-stdin
run: echo "${{ secrets.DOCKERHUB_TOKEN }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin

- name: Push Docker image
run: |
Expand Down

0 comments on commit 763ac2d

Please sign in to comment.