From 305cb91e6f74cc3c71c758accf96a99575219a9a Mon Sep 17 00:00:00 2001 From: Douglas Van Der Merwe <74470226+DouglasVDM@users.noreply.github.com> Date: Mon, 12 Feb 2024 20:09:47 +0200 Subject: [PATCH] Add workflow to build and push Docker image to Docker Hub --- .github/workflows/ec2deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ec2deploy.yml b/.github/workflows/ec2deploy.yml index 57ad3e6..9de8a01 100644 --- a/.github/workflows/ec2deploy.yml +++ b/.github/workflows/ec2deploy.yml @@ -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 / IMAGE_NAME: ${{ github.repository }} DOCKER_USERNAME: ${{ secrets.DOCKER_USERNAME }} @@ -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