2024-07-05 00:34:58 -04:00
|
|
|
name: Deploy
|
|
|
|
|
|
|
|
on:
|
2024-07-13 16:05:28 -04:00
|
|
|
push:
|
|
|
|
tags:
|
|
|
|
- "**"
|
2024-07-05 00:34:58 -04:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
deploy:
|
|
|
|
runs-on: cth-ubuntu-latest
|
|
|
|
steps:
|
2024-11-26 23:27:30 -05:00
|
|
|
- uses: actions/checkout@v4
|
2024-11-26 23:24:18 -05:00
|
|
|
- name: Read .ruby-version file
|
|
|
|
id: ruby
|
|
|
|
run: echo "version=$(cat .ruby-version)" >> $GITHUB_OUTPUT
|
2024-07-05 00:34:58 -04:00
|
|
|
- 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}}
|