Try reading Ruby version from .ruby-version
Some checks failed
Ruby CI / test (pull_request) Failing after 2s
Some checks failed
Ruby CI / test (pull_request) Failing after 2s
This commit is contained in:
parent
2538335e17
commit
9e259b8f42
1 changed files with 5 additions and 0 deletions
|
@ -9,12 +9,17 @@ 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}}
|
||||
|
|
Loading…
Reference in a new issue