Skip to content

Commit

Permalink
add TERRAFYING_VERSION build arg
Browse files Browse the repository at this point in the history
  • Loading branch information
meghaniankov committed Jan 5, 2024
1 parent 22588de commit 894a39c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ jobs:
docker:
needs: build
runs-on: ubuntu-latest
env:
RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
steps:
- uses: actions/checkout@v4
- name: Login to Quay.io
Expand All @@ -62,3 +64,4 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}
push: true
tags: ${{ steps.meta.outputs.tags }}
build-args: "TERRAFYING_VERSION=${{ contains(github.ref, 'refs/tags/') && github.ref_name || '0.0.0' }}"

0 comments on commit 894a39c

Please sign in to comment.