16 lines
614 B
YAML
16 lines
614 B
YAML
on: [push]
|
|
jobs:
|
|
test:
|
|
runs-on: docker
|
|
env:
|
|
DOCKER_HOST=tcp://localhost:2367
|
|
steps:
|
|
- run: echo All Good
|
|
- run: apt update && apt install docker.io -y
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v3
|
|
- run: pwd ; echo ""; ls; env
|
|
- run: DOCKER_HOST=tcp://127.0.0.11:2367 docker build -t git.martyn.berlin/martyn/fat-ssh:latest .
|
|
- run: DOCKER_HOST=tcp://127.0.0.11:2367 docker login -P ${{ secrets.PUSH_TOKEN }} -u martyn git.martyn.berlin
|
|
- run: DOCKER_HOST=tcp://127.0.0.11:2367 docker push git.martyn.berlin/martyn/fat-ssh:latest
|