Skip to content

Commit

Permalink
add meta action
Browse files Browse the repository at this point in the history
  • Loading branch information
sbaizet-ledger committed May 23, 2024
1 parent bcc3f85 commit 4db90ce
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/docker_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,18 @@ jobs:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Docker meta
id: meta
uses: docker/metadata-action@v3
with:
images: |
scrolltech/${{ github.repository }}
tags: |
type=semver,pattern={{version}}
- name: Build and push image
id: build
uses: docker/build-push-action@v3
with:
push: true
tags: scrolltech/frontend:${{ steps.meta.outputs.tags }}
tags: ${{ steps.meta.outputs.tags }}

0 comments on commit 4db90ce

Please sign in to comment.