budget/.gitea/workflows/deploy.yaml
Andrew Tomaka ebecec8673
All checks were successful
Ruby CI / test (pull_request) Successful in 19s
Deploy / deploy (push) Successful in 1m9s
Try reading .ruby-version now
2024-11-26 23:24:18 -05:00

23 lines
503 B
YAML

name: Deploy
on:
push:
tags:
- "**"
jobs:
deploy:
runs-on: cth-ubuntu-latest
steps:
- name: Read .ruby-version file
id: ruby
run: echo "version=$(cat .ruby-version)" >> $GITHUB_OUTPUT
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Push image
uses: docker/build-push-action@v6
with:
push: true
tags: |
docker.atomaka.com/budget:latest
docker.atomaka.com/budget:${{gitea.sha}}