28 lines
567 B
YAML
28 lines
567 B
YAML
name: Build Container
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
publish:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Clone robin
|
|
run: |
|
|
git clone https://github.com/apurvsinghgautam/robin
|
|
cd robin
|
|
ls -al
|
|
|
|
- name: Build Docker image
|
|
run: |
|
|
cd robin
|
|
docker build -t docker.central.nu/alex/robin:latest .
|
|
|
|
- name: Push Docker image
|
|
run: |
|
|
docker push docker.central.nu/alex/robin:latest |