Skip to content

Commit

Permalink
Update docker-image.yml
Browse files Browse the repository at this point in the history
add sequential
  • Loading branch information
keithhubner committed Apr 3, 2024
1 parent 7e4d4b5 commit 521a7e1
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,20 @@ jobs:
secrets: |
9daacb93-c531-467d-a26b-b147008919ee > DOCKER_USERNAME
812e5bc9-a062-438f-9467-b1470088ee32 > DOCKER_PASSWORD
push_to_docker:
needs: build
runs-on: ubuntu-latest

- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: "$DOCKER_USERNAME"
password: "$DOCKER_PASSWORD"

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

- name: Push Docker image to Docker Hub
run: docker push keithhubner/klbc:latest
steps:
- name: Login to Docker Hub
uses: docker/login-action@v1
with:
username: "$DOCKER_USERNAME"
password: "$DOCKER_PASSWORD"

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

- name: Push Docker image to Docker Hub
run: docker push keithhubner/klbc:latest

0 comments on commit 521a7e1

Please sign in to comment.