From a7011c519d400089cc1ecf9ffcedd5300aeb59d9 Mon Sep 17 00:00:00 2001 From: Avior Date: Thu, 30 Nov 2023 01:47:36 +0100 Subject: [PATCH] feat: Add built image to dockerhub (#449) --- .github/workflows/build.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1b623ccc7..e1d75ad78 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,7 +21,9 @@ jobs: id: meta uses: docker/metadata-action@v5 with: - images: ghcr.io/tcgdex/server + images: | + ghcr.io/tcgdex/server + tcgdex/server tags: | type=edge type=ref,event=pr @@ -32,6 +34,12 @@ jobs: type=semver,pattern=latest - name: Login to Docker Hub + uses: docker/login-action@v3 + with: + username: ${{ secrets.DOCKERHUB_USER }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + + - name: Login to Github Packages uses: docker/login-action@v3 with: registry: ghcr.io