File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed
Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change 1616 build-and-push-image :
1717 runs-on : ubuntu-latest
1818 permissions :
19- contents : write
19+ contents : read
2020 packages : write
2121 steps :
2222 - name : Checkout repository
@@ -30,25 +30,14 @@ jobs:
3030 - name : lowercase github.repository
3131 run : |
3232 echo "IMAGE_NAME=`echo ${{ env.IMAGE_NAME }} | tr '[:upper:]' '[:lower:]'`" >>${GITHUB_ENV}
33-
34- - name : Bump version and push tag
35- id : tag_version
36- uses : mathieudutour/github-tag-action@v6.2
37- with :
38- github_token : ${{ secrets.GITHUB_TOKEN }}
39- default_bump : patch
40- default_prerelease_bump : patch
41-
4233 - name : Build and push Docker image
4334 uses : docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4
4435 with :
4536 context : ./akash-llm-gateway
4637 file : ./akash-llm-gateway/Dockerfile
4738 push : true
48- build-args : |
49- NEXT_PUBLIC_VERSION=${{ steps.tag_version.outputs.new_version }}
5039 labels : |
5140 org.opencontainers.image.source=https://github.com/${{ github.repository }}
5241 tags : |
5342 ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:latest
54- ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ steps.tag_version.outputs.new_version }}
43+ ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}
You can’t perform that action at this time.
0 commit comments