From bc2c91d04f6268b80f3296691dd4636717259050 Mon Sep 17 00:00:00 2001 From: Yash Mehrotra Date: Thu, 5 Sep 2024 08:30:08 +0530 Subject: [PATCH] fix: update push tags (#15) --- .github/workflows/publish.yaml | 3 ++- Dockerfile | 8 +++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index ca72c83..6724ff4 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -68,7 +68,8 @@ jobs: id: build uses: docker/build-push-action@v6 with: - tags: ${{ env.REGISTRY_IMAGE }}:${{env.TIMESTAMP}},${{ env.REGISTRY_IMAGE }}:${{ env.SHA }} + #tags: ${{ env.REGISTRY_IMAGE }}:${{env.TIMESTAMP}},${{ env.REGISTRY_IMAGE }}:${{ env.SHA }} + tags: ${{ env.REGISTRY_IMAGE }} platforms: ${{ matrix.platform }} labels: ${{ steps.meta.outputs.labels }} outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true diff --git a/Dockerfile b/Dockerfile index 15fb881..781b86b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,13 +19,16 @@ ARG TARGETARCH ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update && \ - apt-get install -y curl unzip ca-certificates zip tzdata wget gnupg2 bzip2 apt-transport-https lsb-release git python3-crcmod python3-openssl --no-install-recommends && \ + apt-get install -y curl unzip ca-certificates zip tzdata wget gnupg2 bzip2 apt-transport-https locales locales-all lsb-release git python3-crcmod python3-openssl --no-install-recommends && \ apt-get clean RUN apt-get update && apt-get upgrade -y && \ rm -Rf /var/lib/apt/lists/* && \ apt-get clean +RUN locale-gen en_US.UTF-8 +RUN update-locale LANG=en_US.UTF-8 + # stern, jq, yq RUN curl -sLS https://get.arkade.dev | sh && \ arkade get kubectl stern jq yq sops --path /usr/bin && \ @@ -104,6 +107,9 @@ fi && \ FROM base AS final # Install all locales +RUN locale-gen en_US.UTF-8 +RUN update-locale LANG=en_US.UTF-8 + RUN apt-get install -y locales locales-all ENV PATH /opt/google-cloud-sdk/bin:$PATH