Skip to content

Commit

Permalink
Add version tag on Docker Hub release (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
Privat33r-dev authored Apr 30, 2024
1 parent bd76155 commit e667729
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,12 @@ jobs:

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Set up Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ secrets.DOCKERHUB_USERNAME }}/clairvoyance

- name: Build and push
id: docker_build
Expand All @@ -68,7 +74,8 @@ jobs:
context: ./
file: ./Dockerfile
push: true
tags: ${{ secrets.DOCKERHUB_USERNAME }}/clairvoyance:latest
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64

- name: Image digest
Expand Down

0 comments on commit e667729

Please sign in to comment.