Skip to content

Update README.md

Update README.md #104

Workflow file for this run

name: ci-only
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
fetch-depth: 1
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Local build
id: local_build
uses: docker/build-push-action@v3
with:
build-args: |
Version=dev
GitCommit=${{ github.sha }}
outputs: "type=docker,push=false"
platforms: linux/amd64
tags: ghcr.io/alexellis/registry-creds:${{ github.sha }}
- name: Setup Kubernetes
uses: engineerd/setup-kind@v0.5.0
with:
version: "v0.17.0"
image: kindest/node:v1.26.0@sha256:691e24bd2417609db7e589e1a479b902d2e209892a10ce375fab60a8407c7352
- name: Load test image
run: kind load --loglevel trace docker-image ghcr.io/alexellis/registry-creds:${{ github.sha }}
- name: Apply manifests
run: |
TAG=${{ github.sha }} make shrinkwrap
cat ./manifest.yaml | grep ghcr
kubectl apply -f ./manifest.yaml
- name: Check deployment
run:
kubectl rollout status -n registry-creds-system deploy/registry-creds-registry-creds-controller --timeout=2m || kubectl describe -n registry-creds-system deploy/registry-creds-registry-creds-controller && kubectl get events -n registry-creds-system