Skip to content

Commit

Permalink
fix workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hgiasac committed Apr 13, 2024
1 parent ddcd463 commit 071a1cc
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,14 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Get version from tag
id: get-version
run: |
echo "tagged_version=${GITHUB_REF#refs/tags/v}" >> $GITHUB_OUTPUT
shell: bash

- name: Build and push
uses: docker/build-push-action@v5
with:
push: false
tags: ghcr.io/hasura/ndc-rest:${{ github.ref }}
push: true
tags: ghcr.io/hasura/ndc-rest:${{ github.ref_name }}

0 comments on commit 071a1cc

Please sign in to comment.