2024-04-26 06:41:21 +00:00
|
|
|
---
|
|
|
|
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
|
2024-04-26 20:47:26 +00:00
|
|
|
tags: code.icb4dc0.de/infrastructure/images/argocd:v2.10.8
|
2024-04-26 06:41:21 +00:00
|
|
|
build-args: |
|
2024-04-26 20:47:26 +00:00
|
|
|
BASE_IMAGE=quay.io/argoproj/argocd:v2.10.8
|