Skip to content

Commit d786f62

Browse files
author
w7years
committed
🔧 chore(.github/workflows/docker-image.yml): update image tags to use format function for repository owner
1 parent dbeea34 commit d786f62

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

.github/workflows/docker-image.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,7 @@ jobs:
6060
run: make lint
6161

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

0 commit comments

Comments
 (0)