budget/.gitea/workflows/deploy.yaml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 22: cannot unmarshal !!map into string
Andrew Tomaka e48911dacb
All checks were successful
Ruby CI / test (pull_request) Successful in 18s
Allow deploy test without actual deploy
2024-11-26 23:06:44 -05:00

25 lines
572 B
YAML

name: Deploy
on:
push:
tags:
- "**"
jobs:
deploy:
runs-on: cth-ubuntu-latest
steps:
- name: Read Ruby 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
build-args:
RUBY_VERSION: ${{ steps.ruby.outputs.version }}
tags: |
docker.atomaka.com/budget:latest
docker.atomaka.com/budget:${{gitea.sha}}