Skip to content

Commit ade4338

Browse files
authored
Push to Docker Hub (#10)
1 parent 59689d4 commit ade4338

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,7 @@ jobs:
3939
contents: read
4040
packages: write
4141
env:
42-
REGISTRY: ghcr.io
43-
IMAGE_NAME: ${{ github.repository }}
42+
IMAGE_NAME: terminusdb/vectorlink
4443

4544
steps:
4645
- name: Checkout repository
@@ -49,15 +48,14 @@ jobs:
4948
- name: Log in to the Container registry
5049
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
5150
with:
52-
registry: ${{ env.REGISTRY }}
53-
username: ${{ github.actor }}
54-
password: ${{ secrets.GITHUB_TOKEN }}
51+
username: ${{ secrets.DOCKERHUB_USERNAME }}
52+
password: ${{ secrets.DOCKERHUB_TOKEN }}
5553

5654
- name: Extract metadata (tags, labels) for Docker
5755
id: meta
5856
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
5957
with:
60-
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
58+
images: ${{ env.IMAGE_NAME }}
6159

6260
- name: Build and push Docker image
6361
uses: docker/build-push-action@f2a1d5e99d037542a71f64918e516c093c6f3fc4

0 commit comments

Comments
 (0)