Skip to content

Commit

Permalink
Add workflow to build and push Docker image to Docker Hub
Browse files Browse the repository at this point in the history
  • Loading branch information
DouglasVDM committed Feb 12, 2024
1 parent bcc08eb commit 305cb91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ec2deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

env:
# The registry to push the Docker image. docker.io for Docker Hub.
REGISTRY: docker.io
REGISTRY: douglasvdmerwe
# github.repository as <account>/<repo>
IMAGE_NAME: ${{ github.repository }}
DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }}
Expand All @@ -19,7 +19,7 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Build the Docker image
run: docker-compose build --no-cache --force-rm

Expand Down

0 comments on commit 305cb91

Please sign in to comment.