budget/.gitea/workflows/deploy.yaml

28 lines
808 B
YAML
Raw Normal View History

2024-06-23 10:02:02 -04:00
name: Deploy
on:
tag:
2024-06-23 10:05:58 -04:00
push:
2024-06-23 10:02:02 -04:00
jobs:
deploy:
2024-06-23 21:33:10 -04:00
runs-on: cth-ubuntu-latest
2024-06-23 10:02:02 -04:00
steps:
2024-06-23 10:08:03 -04:00
- name: Install Node
run: |
apt-get update
apt-get install git ca-certificates curl gnupg --yes
mkdir -p /etc/apt/keyrings
curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list
apt-get update
apt-get install -y nodejs
2024-06-23 21:04:24 -04:00
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
2024-06-23 21:12:47 -04:00
- uses: docker/build-push-action@v6
2024-06-23 10:02:02 -04:00
context:
push: true
2024-06-23 21:05:46 -04:00
tags: |
docker.atomaka.com/budget:fake