From 132eff662ad42a8bef62654acd27b413be994baf Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Tue, 7 Feb 2023 20:36:18 +0100 Subject: [PATCH] Use an image from registry --- .github/workflows/container-stable.yaml | 4 ++-- dockerfiles/Dockerfile-argo | 2 +- dockerfiles/Dockerfile-helmfile | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/container-stable.yaml b/.github/workflows/container-stable.yaml index 95db02a..8782b5e 100644 --- a/.github/workflows/container-stable.yaml +++ b/.github/workflows/container-stable.yaml @@ -39,9 +39,9 @@ jobs: context: . file: ./Dockerfile platforms: linux/amd64,linux/arm64 - push: false + push: true tags: | - check-da-helm-base + ghcr.io/${{ github.repository }}-base:latest labels: | action_id=${{ github.action }} action_link=${{ env.LINK }} diff --git a/dockerfiles/Dockerfile-argo b/dockerfiles/Dockerfile-argo index 54ba31e..18dc7e5 100644 --- a/dockerfiles/Dockerfile-argo +++ b/dockerfiles/Dockerfile-argo @@ -5,7 +5,7 @@ RUN mkdir /out RUN clin -l "https://github.com/argoproj/argo-cd/releases/download/{{ version }}/argocd-{{ os }}-{{ arch }}" -i /out/argocd -p $ARGOCD_VERSION RUN chmod +x /out/argocd -FROM check-da-helm-base +FROM ghcr.io/allanger/check-da-helm-base COPY --from=builder /out/ /usr/bin RUN apk update --no-cache && apk add --no-cache jq bash ENTRYPOINT ["cdh"] diff --git a/dockerfiles/Dockerfile-helmfile b/dockerfiles/Dockerfile-helmfile index f3dfb32..fba859c 100644 --- a/dockerfiles/Dockerfile-helmfile +++ b/dockerfiles/Dockerfile-helmfile @@ -10,7 +10,7 @@ RUN mkdir /out && for bin in `find /tmp | grep helm`; do cp $bin /out/; done RUN chmod +x /out/helm RUN chmod +x /out/helmfile -FROM check-da-helm-base +FROM ghcr.io/allanger/check-da-helm-base COPY --from=builder /out/ /usr/bin RUN apk update --no-cache && apk add --no-cache jq bash ENTRYPOINT ["cdh"]