Skip to content

Commit

Permalink
🔧 chore(.github/workflows/docker-image.yml): update image tags to use…
Browse files Browse the repository at this point in the history
… format function for repository owner
  • Loading branch information
w7years committed Oct 25, 2024
1 parent dbeea34 commit d786f62
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,7 @@ jobs:
run: make lint

- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: |
ghcr.io/${{ format('{0}', github.repository_owner) }}/ai-api-proxy:latest
ghcr.io/${{ format('{0}', github.repository_owner) }}/ai-api-proxy:${{ github.sha }}
labels: |
org.opencontainers.image.source=https://github.com/${{ github.repository }}
org.opencontainers.image.revision=${{ github.sha }}
run: make docker-push
env:
VERSION: ${{ github.sha }}
GITHUB_USERNAME: ${{ github.actor }}

0 comments on commit d786f62

Please sign in to comment.