Add docker images #5

Merged
allanger merged 21 commits from refs/pull/5/head into main 2023-02-14 21:16:34 +00:00
3 changed files with 4 additions and 4 deletions
Showing only changes of commit 132eff662a - Show all commits

View File

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

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

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