Let's give it a try
This commit is contained in:
parent
d89cdf0792
commit
e78b6e291a
1 changed files with 42 additions and 0 deletions
|
|
@ -92,4 +92,46 @@ jobs:
|
||||||
push: true
|
push: true
|
||||||
file: Dockerfile.macless-haystack-web
|
file: Dockerfile.macless-haystack-web
|
||||||
tags: git.martyn.berlin/martyn/macless-haystack-web:latest
|
tags: git.martyn.berlin/martyn/macless-haystack-web:latest
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '30 3 * * *'
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- 'main'
|
||||||
|
ingress-nginx:
|
||||||
|
runs-on: docker
|
||||||
|
container: catthehacker/ubuntu:act-latest
|
||||||
|
steps:
|
||||||
|
- name: Check out repository code
|
||||||
|
uses: actions/checkout@v3
|
||||||
|
- name: Create Kubeconfig
|
||||||
|
run: |
|
||||||
|
mkdir $HOME/.kube
|
||||||
|
echo "${{ secrets.KUBECONFIG_BUILDX }}" > $HOME/.kube/config
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v3
|
||||||
|
with:
|
||||||
|
driver: kubernetes
|
||||||
|
driver-opts: |
|
||||||
|
namespace=git
|
||||||
|
qemu.install=false
|
||||||
|
- name: Login to forgejo
|
||||||
|
uses: docker/login-action@v3
|
||||||
|
with:
|
||||||
|
registry: git.martyn.berlin
|
||||||
|
username: martyn
|
||||||
|
password: ${{ secrets.PUSH_TOKEN }}
|
||||||
|
- name: clone ingress-nginx
|
||||||
|
uses: actions/checkout@v6
|
||||||
|
repository: chainguard-forks/ingress-nginx
|
||||||
|
token: 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
|
||||||
|
path: ingress-nginx-main
|
||||||
|
github-server-url: https://github.com
|
||||||
|
- name: Build and push
|
||||||
|
uses: docker/build-push-action@v7
|
||||||
|
with:
|
||||||
|
push: true
|
||||||
|
file: Dockerfile
|
||||||
|
context: ./ingress-nginx-main
|
||||||
|
tags: git.martyn.berlin/martyn/ingress-nginx:main
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue