From e4506c5fb6ac2a7d5544979959a97cbe6cec31a3 Mon Sep 17 00:00:00 2001 From: thattonBL <79150422+thattonBL@users.noreply.github.com> Date: Fri, 10 Jan 2025 16:29:39 +0000 Subject: [PATCH 1/2] Update docker-image.yml Wrong filepath for DockerFile --- .github/workflows/docker-image.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index a6ed995..f825d0b 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -81,7 +81,7 @@ jobs: run: | echo "VERSION=$VERSION" echo "VERSION from GITHUB_ENV is: ${{ env.VERSION }}" - docker build --build-arg AZURE_DEVOPS_PAT=${{ secrets.AZURE_DEVOPS_PAT }} -t ${{ secrets.DOCKER_HUB_USERNAME }}/systemadmin:latest -t ${{ secrets.DOCKER_HUB_USERNAME }}/systemadmin:${{ env.VERSION }} -f ./Dockerfile . + docker build --build-arg AZURE_DEVOPS_PAT=${{ secrets.AZURE_DEVOPS_PAT }} -t ${{ secrets.DOCKER_HUB_USERNAME }}/systemadmin:latest -t ${{ secrets.DOCKER_HUB_USERNAME }}/systemadmin:${{ env.VERSION }} -f ./SystemAdmin/Dockerfile . # Step 4: Push Docker image to Docker Hub - name: Push Docker image to Docker Hub From 80d7e8bb0a47e08b6e0510628dae7e7c7777d955 Mon Sep 17 00:00:00 2001 From: thattonBL <79150422+thattonBL@users.noreply.github.com> Date: Fri, 10 Jan 2025 16:30:23 +0000 Subject: [PATCH 2/2] Update development.yaml Correction of filepath for Dockerfile --- .github/workflows/development.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/development.yaml b/.github/workflows/development.yaml index e0d21c3..4d02882 100644 --- a/.github/workflows/development.yaml +++ b/.github/workflows/development.yaml @@ -74,7 +74,7 @@ jobs: run: | echo "VERSION=$VERSION" echo "VERSION from GITHUB_ENV is: ${{ env.VERSION }}" - docker build --build-arg AZURE_DEVOPS_PAT=${{ secrets.AZURE_DEVOPS_PAT }} -t ${{ secrets.DOCKER_HUB_USERNAME }}/systemadmin:dev -t ${{ secrets.DOCKER_HUB_USERNAME }}/systemadmin:${{ env.VERSION }} -f ./Dockerfile . + docker build --build-arg AZURE_DEVOPS_PAT=${{ secrets.AZURE_DEVOPS_PAT }} -t ${{ secrets.DOCKER_HUB_USERNAME }}/systemadmin:dev -t ${{ secrets.DOCKER_HUB_USERNAME }}/systemadmin:${{ env.VERSION }} -f ./SystemAdmin/Dockerfile . # Step 4: Push Docker image to Docker Hub - name: Push Docker image to Docker Hub