Skip to content

Commit

Permalink
ci: create latest tag on docker image and set description
Browse files Browse the repository at this point in the history
  • Loading branch information
gloaysa committed Mar 16, 2024
1 parent d3426b1 commit 5fd2732
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
outputs:
didRelease: ${{ steps.semver.outputs.new_release_published }}
newVersion: ${{ steps.semver.outputs.new_release_version }}
new_release_notes: ${{ steps.semver.outputs.new_release_notes }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -56,10 +57,6 @@ jobs:
with:
name: build
path: ./build
- name: Log download path
run: echo ${{ steps.download.outputs.download-path }}
- name: List directory contents
run: ls -la

- name: Log in to GitHub Container Registry
uses: docker/login-action@v2
Expand All @@ -72,4 +69,8 @@ jobs:
with:
context: ./
push: true
tags: ghcr.io/${{ github.repository }}:${{ needs.build.outputs.newVersion }}
tags: |
ghcr.io/${{ github.repository }}:${{ needs.build.outputs.newVersion }}
ghcr.io/${{ github.repository }}:latest
labels: |
description=${{ needs.build.outputs.new_release_notes }}

0 comments on commit 5fd2732

Please sign in to comment.