68 lines
2.0 KiB
YAML
68 lines
2.0 KiB
YAML
# because we're testing the renovate part a lot, disabling this job
|
|
# on: [push]
|
|
on:
|
|
push:
|
|
branches:
|
|
- 'main'
|
|
jobs:
|
|
fatssh:
|
|
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
|
|
cat $HOME/.kube/config
|
|
- name: Set up Docker Buildx
|
|
uses: docker/setup-buildx-action@v3.6.1
|
|
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: Build and push
|
|
uses: docker/build-push-action@v5
|
|
with:
|
|
push: true
|
|
file: Dockerfile.fat-ssh
|
|
tags: git.martyn.berlin/martyn/fat-ssh:latest
|
|
macless-haystack-web:
|
|
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: Build and push
|
|
uses: docker/build-push-action@v5
|
|
with:
|
|
push: true
|
|
file: Dockerfile.macless-haystack-web
|
|
tags: git.martyn.berlin/martyn/macless-haystack-web:latest
|
|
|