--- name: Image builds on: push: branches: - main jobs: build-argo-cd-image: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 with: fetch-depth: 0 - name: Login to Docker Hub uses: docker/login-action@v3 with: registry: code.icb4dc0.de username: prskr password: ${{ secrets.CONTAINER_REGISTRY_TOKEN }} - name: Build and push uses: docker/build-push-action@v5 with: context: "./argocd" push: true tags: code.icb4dc0.de/infrastructure/images/argocd:v2.10.8 build-args: | BASE_IMAGE=quay.io/argoproj/argocd:v2.10.8