trade_bot/.gitea/workflows/publish.yaml

23 lines
486 B
YAML
Raw Normal View History

2024-07-18 10:03:00 +00:00
name: Podman Image CI
on:
push:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Podman
run: |
sudo apt-get update
sudo apt-get install -y podman
- name: Build the image
2024-07-18 10:08:57 +00:00
run: |
sudo mount --make-rshared /
podman build --tag git.jeffa.io/jeff/trade_bot .
2024-07-18 10:03:00 +00:00
- name: Push the image
run: podman push git.jeffa.io/jeff/trade_bot