23 lines
626 B
YAML
23 lines
626 B
YAML
on: [push]
|
|
jobs:
|
|
test:
|
|
runs-on: docker
|
|
steps:
|
|
- run: apt update && apt install -y iproute2
|
|
- run: ip a
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v3
|
|
- name: Hah, right...
|
|
uses: docker/setup-buildx-action@v3
|
|
- 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
|
|
tags: git.martyn.berlin/martyn/fat-ssh:latest
|