nvim/.gitea/workflows/oci-image.yml

19 lines
593 B
YAML
Raw Normal View History

2023-10-10 18:57:49 +00:00
name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on:
push:
branches: [ "main" ]
schedule:
- cron: '30 12 */3 * *'
2023-10-10 18:57:49 +00:00
jobs:
Explore-Gitea-Actions:
2023-10-13 18:51:37 +00:00
runs-on: ubuntu-latest
2023-10-10 18:57:49 +00:00
steps:
2023-10-13 18:51:37 +00:00
- run: dnf install -y nodejs git
2023-10-10 18:57:49 +00:00
- name: Check out repository code
uses: actions/checkout@v3
- run: podman build -t gitea.maciej.cloud/packages/neovim .
- run: podman login -u "${{ secrets.PACKAGES_USERNAME }}" -p "${{ secrets.PACKAGES_PASSWD }}" gitea.maciej.cloud
- run: podman push gitea.maciej.cloud/packages/neovim