2024-02-23 15:20:59 +00:00
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: docker
|
2024-02-23 16:22:17 +00:00
|
|
|
env:
|
|
|
|
DOCKER_HOST=tcp://localhost:2367
|
2024-02-23 15:20:59 +00:00
|
|
|
steps:
|
|
|
|
- run: echo All Good
|
2024-02-23 16:00:43 +00:00
|
|
|
- run: apt update && apt install docker.io -y
|
2024-02-23 16:02:51 +00:00
|
|
|
- name: Check out repository code
|
|
|
|
uses: actions/checkout@v3
|
2024-02-23 16:24:02 +00:00
|
|
|
- run: pwd ; echo ""; ls; env
|
2024-02-23 16:26:31 +00:00
|
|
|
- run: DOCKER_HOST=tcp://localhost:2367 docker build -t git.martyn.berlin/martyn/fat-ssh:latest .
|
|
|
|
- run: DOCKER_HOST=tcp://localhost:2367 docker login -P ${{ secrets.PUSH_TOKEN }} -u martyn git.martyn.berlin
|
|
|
|
- run: DOCKER_HOST=tcp://localhost:2367 docker push git.martyn.berlin/martyn/fat-ssh:latest
|