Use an image from registry

This commit is contained in:
Nikolai Rodionov 2023-02-07 20:36:18 +01:00
parent 977c7560e4
commit 132eff662a
3 changed files with 4 additions and 4 deletions

View File

@ -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 }}

View File

@ -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"]

View File

@ -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"]