sga token for tags

This commit is contained in:
Gormery Kombo Wanjiru
2024-02-27 22:27:28 +01:00
parent 05e545cbb6
commit ac8c589804
2 changed files with 4 additions and 2 deletions

View File

@@ -25,4 +25,5 @@ jobs:
app-name: 'ollama-docker'
slot-name: 'production'
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_08E3A555EDB44342ACE847844A9FBCBF }}
images: 'index.docker.io/${{ secrets.AZUREAPPSERVICE_CONTAINERUSERNAME_4216062F7E1E4503954D1228672732B6 }}/ollama-docker:latest'
images: 'index.docker.io/${{ secrets.AZUREAPPSERVICE_CONTAINERUSERNAME_4216062F7E1E4503954D1228672732B6 }}/ollama-docker:commit-${{ github.sha }}'

View File

@@ -74,7 +74,8 @@ jobs:
flavor: |
latest=false
tags: |
type=raw,value=latest
type=sha,prefix=commit-,format=long
- name: Build and tag Docker image and push to Docker Hub
uses: docker/build-push-action@v2