Push cloud image to docker.io instead.

This commit is contained in:
Mike Cao 2024-09-02 21:17:08 -07:00
parent 2de8632ae0
commit bfe15e9f0e

View File

@ -18,13 +18,11 @@ jobs:
run: echo "hash=$(openssl rand -hex 4)" >> $GITHUB_OUTPUT
- uses: mr-smithers-excellent/docker-build-push@v6
name: Build & push Docker image to ghcr.io
name: Build & push Docker image to docker.io
with:
image: umami
image: umamisoftware/umami
tags: cloud-${{ steps.random_hash.outputs.hash }}, cloud-latest
buildArgs: DATABASE_TYPE=postgresql
registry: ghcr.io
multiPlatform: true
platform: linux/amd64
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: docker.io
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}