Get busybox
from Docker Hub
#17
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 buildx build --tag ghcr.io/a1ef/argocd-helm-plugin-setup . | |
docker login --username a1ef --password ${{ secrets.GITHUB_TOKEN }} ghcr.io | |
docker push ghcr.io/a1ef/argocd-helm-plugin-setup |