From 1b7549fc87fd02eb21c1e0fc387a75ac349c0e9f Mon Sep 17 00:00:00 2001 From: Nicholas Cote <131394540+NicholasCote@users.noreply.github.com> Date: Mon, 5 Aug 2024 17:24:05 -0600 Subject: [PATCH] update path --- .github/workflows/self-hosted-example.yaml | 2 +- August-08-2024/walkthrough.ipynb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/self-hosted-example.yaml b/.github/workflows/self-hosted-example.yaml index a900f3a..83256dd 100644 --- a/.github/workflows/self-hosted-example.yaml +++ b/.github/workflows/self-hosted-example.yaml @@ -28,7 +28,7 @@ jobs: run: echo "date=$(date +'%Y-%m-%d.%H.%M')" >> $GITHUB_OUTPUT # Use podman to build the image and tag it with the current date - name: Build and push image - run: podman build -t docker.io/ncging/workshop-webapp:${{ steps.date.outputs.date }} . + run: podman build -f August-08-2024/Containerfile -t docker.io/ncging/workshop-webapp:${{ steps.date.outputs.date }} August-08-2024/. # Login to Harbor with a robot account for the ncote project in Harbor - name: Login to Docker Hub run: podman login docker.io -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_TOKEN }} diff --git a/August-08-2024/walkthrough.ipynb b/August-08-2024/walkthrough.ipynb index 4b84468..3a9e742 100644 --- a/August-08-2024/walkthrough.ipynb +++ b/August-08-2024/walkthrough.ipynb @@ -410,7 +410,7 @@ " run: echo \"date=$(date +'%Y-%m-%d.%H.%M')\" >> $GITHUB_OUTPUT\n", " # Use podman to build the image and tag it with the current date\n", " - name: Build and push image\n", - " run: podman build -t docker.io/ncote/workshop-webapp:${{ steps.date.outputs.date }} .\n", + " run: podman build -f August-08-2024/Containerfile -t docker.io/ncote/workshop-webapp:${{ steps.date.outputs.date }} August-08-2024/.\n", " # Login to Harbor with a robot account for the ncote project in Harbor\n", " - name: Login to Docker Hub\n", " run: podman login docker.io -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_TOKEN }}\n",