Skip to content

Commit

Permalink
ci: fix release (#17)
Browse files Browse the repository at this point in the history
Signed-off-by: Sertac Ozercan <[email protected]>
  • Loading branch information
sozercan authored Dec 4, 2023
1 parent 2e6e8af commit 56ba87b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,19 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Get tag
run: |
echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
- id: docker_meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/sozercan/aikit
tags: type=sha,format=long

- name: Build and push
uses: docker/build-push-action@v5
id: build-and-push
with:
push: true
tags: |
ghcr.io/sozercan/aikit:${TAG}
${{ steps.docker_meta.outputs.tags }}
ghcr.io/sozercan/aikit:latest
cache-from: type=gha,scope=aikit
cache-to: type=gha,scope=aikit,mode=max
Expand Down

0 comments on commit 56ba87b

Please sign in to comment.