Skip to content

Commit

Permalink
Init commit
Browse files Browse the repository at this point in the history
  • Loading branch information
A1EF committed Nov 13, 2024
0 parents commit e65f4c5
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Docker Image CI for ArgoCD Helm plugin container

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Build and push the image
run : |
docker login --username a1ef --password ${{ secrets.GITHUB_TOKEN }} ghcr.io
docker build --tag ghcr.io/a1ef/argocd-helm-plugin-setup .
docker push ghcr.io/a1ef/argocd-helm-plugin-setup
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM busybox
RUN wget https://get.helm.sh/helm-v3.10.3-linux-amd64.tar.gz -O- | tar xz && rm linux-amd64/[LR]* && mv linux-amd64 /tools
RUN wget https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 -O /tools/jq && chmod +x /tools/jq
RUN wget https://github.com/mikefarah/yq/releases/download/v4.30.6/yq_linux_amd64 -O /tools/yq && chmod +x /tools/yq

0 comments on commit e65f4c5

Please sign in to comment.