Use an image from registry
This commit is contained in:
parent
977c7560e4
commit
132eff662a
4
.github/workflows/container-stable.yaml
vendored
4
.github/workflows/container-stable.yaml
vendored
@ -39,9 +39,9 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
file: ./Dockerfile
|
file: ./Dockerfile
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
push: false
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
check-da-helm-base
|
ghcr.io/${{ github.repository }}-base:latest
|
||||||
labels: |
|
labels: |
|
||||||
action_id=${{ github.action }}
|
action_id=${{ github.action }}
|
||||||
action_link=${{ env.LINK }}
|
action_link=${{ env.LINK }}
|
||||||
|
@ -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 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
|
RUN chmod +x /out/argocd
|
||||||
|
|
||||||
FROM check-da-helm-base
|
FROM ghcr.io/allanger/check-da-helm-base
|
||||||
COPY --from=builder /out/ /usr/bin
|
COPY --from=builder /out/ /usr/bin
|
||||||
RUN apk update --no-cache && apk add --no-cache jq bash
|
RUN apk update --no-cache && apk add --no-cache jq bash
|
||||||
ENTRYPOINT ["cdh"]
|
ENTRYPOINT ["cdh"]
|
||||||
|
@ -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/helm
|
||||||
RUN chmod +x /out/helmfile
|
RUN chmod +x /out/helmfile
|
||||||
|
|
||||||
FROM check-da-helm-base
|
FROM ghcr.io/allanger/check-da-helm-base
|
||||||
COPY --from=builder /out/ /usr/bin
|
COPY --from=builder /out/ /usr/bin
|
||||||
RUN apk update --no-cache && apk add --no-cache jq bash
|
RUN apk update --no-cache && apk add --no-cache jq bash
|
||||||
ENTRYPOINT ["cdh"]
|
ENTRYPOINT ["cdh"]
|
||||||
|
Reference in New Issue
Block a user