sga token for tags
This commit is contained in:
3
.github/workflows/main_ollama-docker.yml
vendored
3
.github/workflows/main_ollama-docker.yml
vendored
@@ -25,4 +25,5 @@ jobs:
|
|||||||
app-name: 'ollama-docker'
|
app-name: 'ollama-docker'
|
||||||
slot-name: 'production'
|
slot-name: 'production'
|
||||||
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_08E3A555EDB44342ACE847844A9FBCBF }}
|
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 }}'
|
||||||
|
|
||||||
|
|||||||
3
.github/workflows/ollama-docker.yaml
vendored
3
.github/workflows/ollama-docker.yaml
vendored
@@ -74,7 +74,8 @@ jobs:
|
|||||||
flavor: |
|
flavor: |
|
||||||
latest=false
|
latest=false
|
||||||
tags: |
|
tags: |
|
||||||
type=raw,value=latest
|
type=sha,prefix=commit-,format=long
|
||||||
|
|
||||||
|
|
||||||
- name: Build and tag Docker image and push to Docker Hub
|
- name: Build and tag Docker image and push to Docker Hub
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
|
|||||||
Reference in New Issue
Block a user