2024-02-23 15:20:59 +00:00
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: docker
|
|
|
|
steps:
|
2024-02-23 16:54:26 +00:00
|
|
|
- run: apt update && apt install -y docker.io
|
2024-02-23 16:02:51 +00:00
|
|
|
- name: Check out repository code
|
|
|
|
uses: actions/checkout@v3
|
2024-02-23 16:57:12 +00:00
|
|
|
- name: Hah, right...
|
2024-02-23 16:59:26 +00:00
|
|
|
uses: docker/setup-buildx-action@v3
|
2024-02-23 16:54:26 +00:00
|
|
|
- name: Login to forgejo
|
2024-02-23 16:50:45 +00:00
|
|
|
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
|