Skip to content

Commit

Permalink
Fix app release flow (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
l0kix2 authored Jun 11, 2024
1 parent 4fd01c0 commit c9f077f
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/release_app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,18 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Parse tag
id: tag
run: |
echo "version=$(echo ${GITHUB_REF_NAME#release/*})" >> $GITHUB_OUTPUT
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/[email protected]
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: |
type=match,pattern=\d.\d.\d
- name: Build and push Docker image
uses: docker/[email protected]
with:
context: .
push: true
tags: ${{ steps.tag.outputs.version }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}

0 comments on commit c9f077f

Please sign in to comment.