diff --git a/.gitea/workflows/build-deploy.yml b/.gitea/workflows/build-deploy.yml index 27d444c..d6b8d03 100644 --- a/.gitea/workflows/build-deploy.yml +++ b/.gitea/workflows/build-deploy.yml @@ -18,9 +18,9 @@ jobs: - name: Log in to Gitea Container Registry uses: docker/login-action@v3 with: - registry: code.puffinoffset.com - username: ${{ github.actor }} - password: ${{ secrets.GITHUB_TOKEN }} + registry: ${{ vars.REGISTRY_HOST }} + username: ${{ vars.REGISTRY_USERNAME }} + password: ${{ secrets.REGISTRY_TOKEN }} - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -32,5 +32,5 @@ jobs: platforms: linux/amd64 push: true tags: | - code.puffinoffset.com/matt/puffin-app:latest - code.puffinoffset.com/matt/puffin-app:main-${{ github.sha }} + ${{ vars.REGISTRY_HOST }}/${{ vars.REGISTRY_USERNAME }}/${{ vars.IMAGE_NAME }}:latest + ${{ vars.REGISTRY_HOST }}/${{ vars.REGISTRY_USERNAME }}/${{ vars.IMAGE_NAME }}:main-${{ github.sha }}