Skip to content

Commit

Permalink
ci: add labels to image release - RK-19485 (#111)
Browse files Browse the repository at this point in the history
* ci: add labels to image release

Signed-off-by: Gosha <[email protected]>

* ci: add labels to image release

Signed-off-by: Gosha <[email protected]>

---------

Signed-off-by: Gosha <[email protected]>
  • Loading branch information
gosharo authored Jul 25, 2023
1 parent 0e1956c commit d3ca55c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,19 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Docker meta
id: meta
uses: docker/metadata-action@v4
with:
images: rookout/piper
- name: Build and export
uses: docker/build-push-action@v4
with:
context: .
platforms: linux/amd64,linux/arm64
push: true
tags: rookout/piper:${{ github.ref_name }}
tags: rookout/piper:${{ github.ref_name }},latest
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
helm:
Expand Down

0 comments on commit d3ca55c

Please sign in to comment.