Skip to content

Commit

Permalink
fix description
Browse files Browse the repository at this point in the history
  • Loading branch information
drivebyer committed Jan 14, 2024
1 parent 7ac162d commit 8041a90
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/release_manually.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ jobs:
echo "BUILD_DATE=$(date +'%Y-%m-%d %H:%M:%S')" >> $GITHUB_ENV
echo "GIT_SHA=$(git rev-parse --short HEAD | cut -c1-7)" >> $GITHUB_ENV
echo "GIT_REF=$(git symbolic-ref -q --short HEAD || git describe --tags --exact-match)" >> $GITHUB_ENV
echo "GIT_REPO=$(git config --get remote.origin.url)" >> $GITHUB_ENV
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
Expand All @@ -110,11 +111,9 @@ jobs:
- name: Build && Push
uses: docker/[email protected]
with:
outputs: type=image,name=target,\
annotation-index.org.opencontainers.image.description=Build from commit ${{ env.GIT_SHA }} and ref ${{ env.GIT_REF }},\
annotation-index.org.opencontainers.image.created=${{ env.BUILD_DATE }},\
annotation-index.org.opencontainers.image.ref.name=${{ env.GIT_REF }},\
annotation-index.org.opencontainers.image.revision=${{ env.GIT_SHA }}
outputs: type=image,name=target,annotation-index.org.opencontainers.image.description=Build from ${{ env.GIT_REPO }}/${{ env.GIT_REF }}@${{ env.GIT_SHA }} at ${{ env.BUILD_DATE }}
labels:
org.opencontainers.image.description: Build from ${{ env.GIT_REPO }}/${{ env.GIT_REF }}@${{ env.GIT_SHA }} at ${{ env.BUILD_DATE }}
context: .
file: ./Dockerfile
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 8041a90

Please sign in to comment.