Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jarrettgaither authored Apr 18, 2024
1 parent 778e8a1 commit 19d599f
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,23 @@ jobs:

- name: Stop Container
run: docker stop container1

- name: Log in to Docker Hub
uses: docker/login-action@master
with:
username: ${{secrets.DOCKER_USERNAME}}
password: ${{secrets.DOCKER_PASSWORD}}

- name: Get Metadata
uses: docker/metadata-action@master
with:
images: jarrettgaither/liatriowebapp

- name: Build and Push Image
uses: docker/build-push-action@master
with:
context: .
file: ./Dockerfile
push: true
tags: ${{steps.meta.output.tags}}
labels: ${{steps.meta.output.labels}}

0 comments on commit 19d599f

Please sign in to comment.