Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
keithhubner committed Apr 3, 2024
1 parent 9f00ad4 commit 7e3573f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
jobs:
build:
runs-on: ubuntu-latest
outputs:
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }}

steps:
- name: Checkout code
Expand All @@ -31,8 +34,8 @@ jobs:
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
username: "${{ needs.build.outputs.DOCKER_USERNAME }}"
password: "${{ needs.build.outputs.DOCKER_PASSWORD }}"

- name: Build Docker image
run: docker build -t keithhubner/klbc:latest .
Expand Down

0 comments on commit 7e3573f

Please sign in to comment.