separate files needed
This commit is contained in:
parent
e78b6e291a
commit
6ee7d4eb50
2 changed files with 43 additions and 42 deletions
|
|
@ -92,46 +92,4 @@ jobs:
|
|||
push: true
|
||||
file: Dockerfile.macless-haystack-web
|
||||
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
|
||||
|
||||
|
|
|
|||
43
.forgejo/workflows/ingress-nginx.yaml
Normal file
43
.forgejo/workflows/ingress-nginx.yaml
Normal file
|
|
@ -0,0 +1,43 @@
|
|||
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