From 828c0bca210324c92f6ebdd15765501cc3720b5a Mon Sep 17 00:00:00 2001 From: jtdub Date: Mon, 12 Jun 2023 21:40:57 -0500 Subject: [PATCH] Update to 1.5.21 and fix iterate on auto-update --- .github/workflows/auto-update.yml | 4 +++- Dockerfile | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/auto-update.yml b/.github/workflows/auto-update.yml index 99c01b5..408276e 100644 --- a/.github/workflows/auto-update.yml +++ b/.github/workflows/auto-update.yml @@ -72,7 +72,9 @@ jobs: exit 0 else echo "Building nautobot-lab:$NAUTOBOT_VERSION" - docker build -t networktocode/nautobot-lab:${NAUTOBOT_VERSION} . + docker build \ + --build-arg NAUTOBOT_VERSION=${NAUTOBOT_VERSION} \ + -t networktocode/nautobot-lab:${NAUTOBOT_VERSION} . echo "Building nautobot-lab:latest with $NAUTOBOT_VERSION" docker build -t networktocode/nautobot-lab:latest . echo "Logging into Docker Hub" diff --git a/Dockerfile b/Dockerfile index dc42563..fa38d45 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,8 @@ FROM public.ecr.aws/ubuntu/ubuntu:22.04_stable -ENV NAUTOBOT_VERSION="1.5.20" +ARG NAUTOBOT_VERSION="1.5.21" + +ENV NAUTOBOT_VERSION=${NAUTOBOT_VERSION} ENV NAUTOBOT_ROOT="/opt/nautobot"