From f3dd4f8a37b1a12787f75aca5945f7dc48c22470 Mon Sep 17 00:00:00 2001 From: f-bn Date: Sat, 14 Oct 2023 10:41:55 +0200 Subject: [PATCH] feat: remove release build arg --- .github/workflows/ubuntu.yml | 2 -- ubuntu/Dockerfile.jammy | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/ubuntu.yml b/.github/workflows/ubuntu.yml index 18425bc..29eb394 100644 --- a/.github/workflows/ubuntu.yml +++ b/.github/workflows/ubuntu.yml @@ -42,8 +42,6 @@ jobs: context: ./ubuntu file: ./ubuntu/Dockerfile.${{ matrix.release }} push: true - build-args: | - RELEASE=${{ matrix.release }} tags: | ${{ secrets.REGISTRY_HUB_USERNAME }}/molecule-ubuntu:${{ matrix.release }} ${{ secrets.REGISTRY_HUB_USERNAME }}/molecule-ubuntu:${{ matrix.release }}-${{ env.BUILD_ID }} \ No newline at end of file diff --git a/ubuntu/Dockerfile.jammy b/ubuntu/Dockerfile.jammy index 020a42a..b648af4 100644 --- a/ubuntu/Dockerfile.jammy +++ b/ubuntu/Dockerfile.jammy @@ -1,6 +1,4 @@ -ARG RELEASE="jammy" - -FROM public.ecr.aws/ubuntu/ubuntu:${RELEASE} +FROM public.ecr.aws/ubuntu/ubuntu:jammy RUN set -ex ; \ export DEBIAN_FRONTEND=noninteractive; \